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

Function TestScriptExtensionUpdate

engine/script/src/test/test_script_lua.cpp:897–904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

895}
896
897static void TestScriptExtensionUpdate(dmScript::HContext context)
898{
899 lua_State* L = dmScript::GetLuaState(context);
900 DM_LUA_STACK_CHECK(L, 0);
901
902 TestScriptExtension* extension = GetTestScriptExtension(context);
903 ++extension->m_UpdateCalled;
904}
905
906static void TestScriptExtensionFinalize(dmScript::HContext context)
907{

Callers

nothing calls this directly

Calls 2

GetTestScriptExtensionFunction · 0.85
GetLuaStateFunction · 0.50

Tested by

no test coverage detected