| 1819 | } |
| 1820 | |
| 1821 | bool 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 | |
| 1829 | bool LuaEngine::call(lua_State* L, int paramCount, int returnCount) { |
| 1830 | int functionIndex = -(paramCount + 1); |
no test coverage detected