| 1845 | } |
| 1846 | |
| 1847 | static uint32_t GetLuaMemCount(HEngine engine) |
| 1848 | { |
| 1849 | uint32_t memcount = 0; |
| 1850 | if (engine->m_SharedScriptContext) { |
| 1851 | memcount += dmScript::GetLuaGCCount(dmScript::GetLuaState(engine->m_SharedScriptContext)); |
| 1852 | } else { |
| 1853 | memcount += dmScript::GetLuaGCCount(dmScript::GetLuaState(engine->m_GOScriptContext)); |
| 1854 | memcount += dmScript::GetLuaGCCount(dmScript::GetLuaState(engine->m_GuiScriptContext)); |
| 1855 | } |
| 1856 | return memcount; |
| 1857 | } |
| 1858 | |
| 1859 | static void Exit(HEngine engine, int32_t code) |
| 1860 | { |
no test coverage detected