Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 318 Bytes

File metadata and controls

9 lines (6 loc) · 318 Bytes

Zig structs (userdata) in Lua

This example demonstrates the bare minimum to make Zig structs "available" in Lua.

For more interactive examples written in C, you can see Programming in Lua, chapter 28.

Note

At some point, I would like to recreate these examples in Zig.