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

Method __Compare

src/Dynamic.cpp:225–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 String __ToString() const HXCPP_OVERRIDE { return String(mValue); }
224
225 int __Compare(const hx::Object *inRHS) const HXCPP_OVERRIDE
226 {
227 void *r = inRHS==0 ? 0 : inRHS->__GetHandle();
228 return mValue < r ? -1 : mValue==r ? 0 : 1;
229 }
230
231
232 void *mValue;

Callers

nothing calls this directly

Calls 1

__GetHandleMethod · 0.45

Tested by

no test coverage detected