MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / pushHandle

Method pushHandle

source/core/StarLua.cpp:1084–1087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1082}
1083
1084void LuaEngine::pushHandle(lua_State* state, int handleIndex) {
1085 lua_pushvalue(m_handleThread, handleIndex);
1086 lua_xmove(m_handleThread, state, 1);
1087}
1088
1089int LuaEngine::copyHandle(int handleIndex) {
1090 lua_pushvalue(m_handleThread, handleIndex);

Callers 1

operator()Method · 0.80

Calls 2

lua_pushvalueFunction · 0.85
lua_xmoveFunction · 0.85

Tested by

no test coverage detected