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

Function TestIsValid

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

Source from the content-addressed store, hash-verified

240}
241
242static int TestIsValid(lua_State* L)
243{
244 TestDummy* dummy = (TestDummy*)lua_touserdata(L, 1);
245 lua_pushboolean(L, dummy != 0x0 && dummy->m_Dummy != 0);
246 return 1;
247}
248
249static int TestGetContextTableRef(lua_State* L)
250{

Callers

nothing calls this directly

Calls 2

lua_touserdataFunction · 0.85
lua_pushbooleanFunction · 0.85

Tested by

no test coverage detected