mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
Implement minetest.ipc_cas()
This commit is contained in:
parent
f1a436619f
commit
72801d0233
5 changed files with 68 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue