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

Function ScriptInit

engine/liveupdate/src/script_liveupdate.cpp:214–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212
213
214 void ScriptInit(lua_State* L, dmResource::HFactory factory)
215 {
216 memset(&g_LUScriptCtx, 0, sizeof(g_LUScriptCtx));
217 g_LUScriptCtx.m_Factory = factory;
218
219 LuaInit(L);
220 }
221};

Callers 1

InitializeFunction · 0.85

Calls 1

LuaInitFunction · 0.70

Tested by

no test coverage detected