Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HaxeFoundation/hxcpp
/ sortDescending
Function
sortDescending
include/Array.h:868–872 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
866
}
867
static inline bool greaterThan(const ELEM_ &inA, const ELEM_ &inB) { return inB < inA; }
868
inline void sortDescending()
869
{
870
ELEM_ *e = (ELEM_ *)mBase;
871
std::sort(e, e+length, greaterThan);
872
}
873
874
875
struct Sorter
Callers
nothing calls this directly
Calls
1
sort
Function · 0.70
Tested by
no test coverage detected