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

Function InitializeMsg

engine/script/src/script_msg.cpp:565–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563 };
564
565 void InitializeMsg(lua_State* L)
566 {
567 int top = lua_gettop(L);
568
569 SCRIPT_URL_TYPE_HASH = dmScript::RegisterUserType(L, SCRIPT_TYPE_NAME_URL, URL_methods, URL_meta);
570
571 luaL_register(L, SCRIPT_LIB_NAME, ScriptMsg_methods);
572 lua_pop(L, 1);
573
574 assert(top == lua_gettop(L));
575 }
576
577 void PushURL(lua_State* L, const dmMessage::URL& url)
578 {

Callers 1

InitializeFunction · 0.85

Calls 3

lua_gettopFunction · 0.85
RegisterUserTypeFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected