Commit graph

3 commits

Author SHA1 Message Date
Shiawase
20f1e30c23
Add Luau callbacks for memory allocation and debug hooks
From [lua.h](c51743268b/VM/include/lua.h (L446))

- Added OnAllocate callback to LuaCallbacks struct
- Fixed callback function signatures for UserAtom, DebugInterrupt, and DebugProtectedError
- Updated Callbacks function to correctly map additional debug and allocation callbacks from Luau
2025-04-26 18:13:26 +03:00
d82a23b44c
refactor: rename package internal->ffi & fix compile err
Fixed a compile error to do with passing too many arguments to
`lua_setuserdatametatable` when it only accepts 2.
2025-04-26 08:49:43 +01:00
725efd14f8
refactor: export raw bindings as ffi package 2025-04-26 07:51:49 +01:00
Renamed from internal/lua.go (Browse further)