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

Function GetLuaState

engine/gameobject/src/gameobject/comp_script.cpp:171–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 static lua_State* GetLuaState(void* context) {
172 return dmScript::GetLuaState((dmScript::HContext)context);
173 }
174
175 static lua_State* GetLuaState(HScriptInstance instance) {
176 return instance->m_Script->m_LuaState;

Callers 15

ResScriptCreateFunction · 0.70
CompScriptInitFunction · 0.70
CompScriptFinalFunction · 0.70
CompScriptUpdateInternalFunction · 0.70
HandleUnrefMessageFunction · 0.70
HandleMessageFunction · 0.70
CompScriptOnInputFunction · 0.70
CompScriptOnReloadFunction · 0.70
CompScriptSetPropertiesFunction · 0.70
RetrieveVarFromScriptFunction · 0.70
CompScriptSetPropertyFunction · 0.70
LuaLoadFunction · 0.70

Calls

no outgoing calls

Tested by 5

TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
SetUpMethod · 0.40