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

Function InitializeHtml5

engine/script/src/script_html5_js.cpp:201–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 };
200
201 void InitializeHtml5(lua_State* L)
202 {
203 int top = lua_gettop(L);
204
205 lua_pushvalue(L, LUA_GLOBALSINDEX);
206 luaL_register(L, LIB_NAME, ScriptHtml5_methods);
207 lua_pop(L, 2);
208
209 assert(top == lua_gettop(L));
210 }
211}

Callers

nothing calls this directly

Calls 3

lua_gettopFunction · 0.85
lua_pushvalueFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected