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

Function sortAscending

include/Array.h:862–866  ·  view source on GitHub ↗

Will do random pointer sorting for object pointers

Source from the content-addressed store, hash-verified

860
861 // Will do random pointer sorting for object pointers
862 inline void sortAscending()
863 {
864 ELEM_ *e = (ELEM_ *)mBase;
865 std::sort(e, e+length);
866 }
867 static inline bool greaterThan(const ELEM_ &inA, const ELEM_ &inB) { return inB < inA; }
868 inline void sortDescending()
869 {

Callers

nothing calls this directly

Calls 1

sortFunction · 0.70

Tested by

no test coverage detected