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

Method __Compare

include/Array.h:1405–1412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1403 hx::MarkMember(mThis, __inCtx);
1404 }
1405 ARRAY_VISIT_FUNC
1406 int __Compare(const ::hx::Object* inRhs) const override
1407 {
1408 auto casted = dynamic_cast<const _hx_array_map*>(inRhs);
1409 if (!casted) return 1;
1410 if (mThis != casted->mThis) return -1;
1411 return 0;
1412 }
1413 void* __GetHandle() const override
1414 {
1415 return mThis.GetPtr();

Callers 3

CompareFunction · 0.45
operator ==Function · 0.45
operator !=Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected