MCPcopy Create free account
hub / github.com/Tencent/sluaunreal / lua_getallocf

Function lua_getallocf

Plugins/slua_unreal/External/lua/lapi.cpp:1165–1172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1163
1164
1165LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) {
1166 lua_Alloc f;
1167 lua_lock(L);
1168 if (ud) *ud = G(L)->ud;
1169 f = G(L)->frealloc;
1170 lua_unlock(L);
1171 return f;
1172}
1173
1174
1175LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) {

Callers 1

resizeboxFunction · 0.85

Calls 1

GFunction · 0.85

Tested by

no test coverage detected