MCPcopy Create free account
hub / github.com/defold/defold / GetLuaGCCount

Function GetLuaGCCount

engine/script/src/script.cpp:1608–1611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1606 }
1607
1608 uint32_t GetLuaGCCount(lua_State* L)
1609 {
1610 return (uint32_t)lua_gc(L, LUA_GCCOUNT, 0);
1611 }
1612
1613 LuaStackCheck::LuaStackCheck(lua_State* L, int diff, const char* filename, int linenumber) : m_L(L), m_Filename(filename), m_Linenumber(linenumber), m_Top(lua_gettop(L)), m_Diff(diff)
1614 {

Callers 1

GetLuaMemCountFunction · 0.85

Calls 1

lua_gcFunction · 0.85

Tested by

no test coverage detected