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

Function lua_getallocf

lua/src/lapi.c:1312–1319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1310
1311
1312LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) {
1313 lua_Alloc f;
1314 lua_lock(L);
1315 if (ud) *ud = G(L)->ud;
1316 f = G(L)->frealloc;
1317 lua_unlock(L);
1318 return f;
1319}
1320
1321
1322LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) {

Callers 1

resizeboxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected