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

Function InitializeBitop

engine/script/src/script_bitop.cpp:269–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267namespace dmScript
268{
269 void InitializeBitop(lua_State* L)
270 {
271 int top = lua_gettop(L);
272
273 luaopen_bit(L);
274
275 int stack = lua_gettop(L);
276
277 // Above call leaves a table and a number on the stack which will not
278 // be needed for anything.
279 lua_pop(L, stack - top);
280 }
281}

Callers 1

InitializeFunction · 0.85

Calls 2

lua_gettopFunction · 0.85
luaopen_bitFunction · 0.85

Tested by

no test coverage detected