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

Function InitializeZlib

engine/script/src/script_zlib.cpp:143–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 };
142
143 void InitializeZlib(lua_State* L)
144 {
145 int top = lua_gettop(L);
146
147 lua_pushvalue(L, LUA_GLOBALSINDEX);
148 luaL_register(L, LIB_NAME, ScriptZlib_methods);
149 lua_pop(L, 2);
150
151 assert(top == lua_gettop(L));
152 }
153}

Callers 1

InitializeFunction · 0.85

Calls 3

lua_gettopFunction · 0.85
lua_pushvalueFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected