mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Implement minetest.ipc_cas()
This commit is contained in:
@@ -507,6 +507,7 @@ PackedValue *script_pack(lua_State *L, int idx)
|
||||
|
||||
void script_unpack(lua_State *L, PackedValue *pv)
|
||||
{
|
||||
assert(pv);
|
||||
// table that tracks objects for keep_ref / PUSHREF (key = instr index)
|
||||
lua_newtable(L);
|
||||
const int top = lua_gettop(L);
|
||||
|
Reference in New Issue
Block a user