MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / lua_setallocf

Function lua_setallocf

src/lapi.cpp:1428–1433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1426
1427
1428LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) {
1429 lua_lock(L);
1430 G(L)->ud = ud;
1431 G(L)->frealloc = f;
1432 lua_unlock(L);
1433}
1434
1435
1436void 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