MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / alloc_count

Function alloc_count

Dependencies/lua/src/ltests.c:866–872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864
865
866static int alloc_count (lua_State *L) {
867 if (lua_isnone(L, 1))
868 l_memcontrol.countlimit = ~0L;
869 else
870 l_memcontrol.countlimit = luaL_checkinteger(L, 1);
871 return 0;
872}
873
874
875static int alloc_failnext (lua_State *L) {

Callers

nothing calls this directly

Calls 1

luaL_checkintegerFunction · 0.85

Tested by

no test coverage detected