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

Method __Compare

include/hx/DynamicImpl.h:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 mFunction = inFunction;
28 }
29 int __Compare(const hx::Object *inRHS) const HXCPP_OVERRIDE
30 {
31 const CMemberFunction0 *other = dynamic_cast<const CMemberFunction0 *>(inRHS);
32 if (!other)
33 return -1;
34 return (mName==other->mName && mFunction==other->mFunction && mThis.GetPtr()==other->mThis.GetPtr())? 0 : -1;
35 }
36
37 int __GetType() const HXCPP_OVERRIDE { return vtFunction; }
38 int __ArgCount() const HXCPP_OVERRIDE { return 0; }

Callers 5

operator==Method · 0.45
CompareMethod · 0.45
TestLessEqFunction · 0.45
IsInstanceEqFunction · 0.45
IsInstanceNotEqFunction · 0.45

Calls 1

GetPtrMethod · 0.80

Tested by 1

TestLessEqFunction · 0.36