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

Function GetLuaState

engine/script/src/script.cpp:327–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325 }
326
327 lua_State* GetLuaState(HContext context)
328 {
329 if (context != 0x0) {
330 return context->m_LuaState;
331 }
332 return 0x0;
333 }
334
335 // From ldblib.c (getthread)
336 static lua_State* GetLuaThread(lua_State *L, int *arg)

Calls

no outgoing calls