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

Method __Compare

src/Dynamic.cpp:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 }
184
185 int __Compare(const hx::Object *inRHS) const HXCPP_OVERRIDE
186 {
187 double rval = inRHS->__ToInt64();
188 if (rval==mValue)
189 return 0;
190
191 return mValue < rval ? -1 : 1;
192 }
193
194
195

Callers

nothing calls this directly

Calls 1

__ToInt64Method · 0.45

Tested by

no test coverage detected