mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Use native packer to transfer globals into async env(s)
This commit is contained in:
@@ -119,7 +119,7 @@ void script_register_packer(lua_State *L, const char *regname,
|
||||
// Pack a Lua value
|
||||
PackedValue *script_pack(lua_State *L, int idx);
|
||||
// Unpack a Lua value (left on top of stack)
|
||||
// Note that this may modify the PackedValue, you can't reuse it!
|
||||
// Note that this may modify the PackedValue, reusability is not guaranteed!
|
||||
void script_unpack(lua_State *L, PackedValue *val);
|
||||
|
||||
// Dump contents of PackedValue to stdout for debugging
|
||||
|
Reference in New Issue
Block a user