MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / _keyCompare

Method _keyCompare

Engine/source/console/arrayObject.cpp:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82S32 QSORT_CALLBACK ArrayObject::_keyCompare( const void* a, const void* b )
83{
84 ArrayObject::Element *ea = (ArrayObject::Element *) (a);
85 ArrayObject::Element *eb = (ArrayObject::Element *) (b);
86 S32 result = smCaseSensitive ? dStrnatcmp(ea->key, eb->key) : dStrnatcasecmp(ea->key, eb->key);
87 return ( smDecreasing ? -result : result );
88}
89
90S32 QSORT_CALLBACK ArrayObject::_keyNumCompare( const void* a, const void* b )
91{

Callers

nothing calls this directly

Calls 2

dStrnatcmpFunction · 0.85
dStrnatcasecmpFunction · 0.85

Tested by

no test coverage detected