MCPcopy Create free account
hub / github.com/defold/defold / Sys_Deserialize

Function Sys_Deserialize

engine/script/src/script_sys.cpp:1444–1451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1442 */
1443
1444 static int Sys_Deserialize(lua_State* L)
1445 {
1446 DM_LUA_STACK_CHECK(L, 1);
1447 size_t bytes_lenght;
1448 const char* bytes = luaL_checklstring(L, 1, &bytes_lenght);
1449 PushTable(L, bytes, bytes_lenght);
1450 return 1;
1451 }
1452
1453 //undocummented function for debugger
1454

Callers

nothing calls this directly

Calls 2

luaL_checklstringFunction · 0.85
PushTableFunction · 0.85

Tested by

no test coverage detected