MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / scriptHandlerEqual

Method scriptHandlerEqual

Source/Lua/LuaEngine.cpp:1821–1827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1819}
1820
1821bool LuaEngine::scriptHandlerEqual(int handlerA, int handlerB) {
1822 tolua_get_function_by_refid(L, handlerA);
1823 tolua_get_function_by_refid(L, handlerB);
1824 int result = lua_rawequal(L, -1, -2);
1825 lua_pop(L, 2);
1826 return result != 0;
1827}
1828
1829bool LuaEngine::call(lua_State* L, int paramCount, int returnCount) {
1830 int functionIndex = -(paramCount + 1);

Callers 2

equalsMethod · 0.80
equalsMethod · 0.80

Calls 2

lua_rawequalFunction · 0.50

Tested by

no test coverage detected