MCPcopy Create free account
hub / github.com/OpenMW/openmw / equals

Method equals

extern/sol3/sol/stack_reference.hpp:123–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 bool equals(lua_State* L_, const stateless_stack_reference& r) const noexcept {
124 return lua_compare(L_, this->stack_index(), r.stack_index(), LUA_OPEQ) == 1;
125 }
126
127 bool equals(lua_State* L_, lua_nil_t) const noexcept {
128 return valid(L_);

Callers 1

operator()Method · 0.45

Calls 2

stack_indexMethod · 0.95
lua_compareFunction · 0.85

Tested by

no test coverage detected