MCPcopy Create free account
hub / github.com/assaultcube/AC / sort

Method sort

source/src/tools.h:390–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388
389 template<class ST>
390 void sort(int (__cdecl *cf)(ST *, ST *), int i = 0, int n = -1)
391 {
392 qsort(&buf[i], n<0 ? ulen : n, sizeof(T), (int (__cdecl *)(const void *,const void *))cf);
393 }
394
395 template<class ST>
396 T *search(T *key, int (__cdecl *cf)(ST *, ST *), int i = 0, int n = -1)

Callers 15

gettexturelistFunction · 0.80
sorttextureslotsFunction · 0.80
calcmapareastatsFunction · 0.80
readMethod · 0.80
readMethod · 0.80
listsubdirsFunction · 0.80
listfilesFunction · 0.80
gmode_enumFunction · 0.80
sortmapmodelslotsFunction · 0.80
writemapmodelattributesFunction · 0.80
rendermodel.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected