MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / lua_setallocf

Function lua_setallocf

lua/src/lapi.c:1322–1327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1320
1321
1322LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) {
1323 lua_lock(L);
1324 G(L)->ud = ud;
1325 G(L)->frealloc = f;
1326 lua_unlock(L);
1327}
1328
1329
1330void lua_setwarnf (lua_State *L, lua_WarnFunction f, void *ud) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected