MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / __Compare

Function __Compare

include/hx/Functions.h:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 int __Compare(const ::hx::Object* other) const override
66 {
67 auto otherCallable = dynamic_cast<const ErasedCallable_obj*>(other);
68 if (nullptr == otherCallable)
69 {
70 return -1;
71 }
72
73 return callableId() == otherCallable->callableId() ? 0 : -1;
74 }
75 };
76
77 template<class TReturn, class... TArgs>

Callers

nothing calls this directly

Calls 2

callableIdFunction · 0.85
callableIdMethod · 0.45

Tested by

no test coverage detected