MCPcopy Create free account
hub / github.com/Tencent/UnLua / lua_setallocf

Function lua_setallocf

Plugins/UnLua/Source/ThirdParty/Lua/lua-5.4.3/src/lapi.c:1311–1316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1309
1310
1311LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) {
1312 lua_lock(L);
1313 G(L)->ud = ud;
1314 G(L)->frealloc = f;
1315 lua_unlock(L);
1316}
1317
1318
1319void lua_setwarnf (lua_State *L, lua_WarnFunction f, void *ud) {

Callers 1

luaB_opentestsFunction · 0.85

Calls

no outgoing calls

Tested by 1

luaB_opentestsFunction · 0.68