mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use native packer to transfer globals into async env(s)
This commit is contained in:
parent
7f58887ae3
commit
ec9f157512
6 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue