MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lua_getallocf

Function lua_getallocf

lib/lua/src/lapi.c:1309–1316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

resizeboxFunction · 0.85

Calls 1

GFunction · 0.50

Tested by

no test coverage detected