aboutsummaryrefslogtreecommitdiff
path: root/src/script/common/c_packer.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-05-09 18:20:10 +0200
committersfan5 <sfan5@live.de>2022-05-10 22:37:42 +0200
commitec9f1575121e3b064b919bca7efddfa8b0fc4e65 (patch)
tree54d87ba45143f9d8d64e3ee3b8c36f6296627bdc /src/script/common/c_packer.h
parent7f58887ae33893c981fbdff23d4e1fa4a11c32e4 (diff)
downloadhax-minetest-server-ec9f1575121e3b064b919bca7efddfa8b0fc4e65.tar.gz
hax-minetest-server-ec9f1575121e3b064b919bca7efddfa8b0fc4e65.zip
Use native packer to transfer globals into async env(s)
Diffstat (limited to 'src/script/common/c_packer.h')
-rw-r--r--src/script/common/c_packer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/common/c_packer.h b/src/script/common/c_packer.h
index ee732be86..fe072c10a 100644
--- a/src/script/common/c_packer.h
+++ b/src/script/common/c_packer.h
@@ -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