diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-21 21:26:09 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-26 19:30:38 +0100 |
commit | a3bb7cbe649d9c718b65aded4c6b2445ff5d20d5 (patch) | |
tree | 0777ed5bf2fe322227fe114cd1126ab77bc8ccf1 /Vector.h | |
parent | 4eb443926f9944f4c100b1aabfb5553cbbd98874 (diff) |
Hold only a const version of Settings in ProcessList
Diffstat (limited to 'Vector.h')
-rw-r--r-- | Vector.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -31,7 +31,10 @@ void Vector_delete(Vector* this); void Vector_prune(Vector* this); -void Vector_quickSort(Vector* this); +void Vector_quickSortCustomCompare(Vector* this, Object_Compare compare); +static inline void Vector_quickSort(Vector* this) { + Vector_quickSortCustomCompare(this, this->type->compare); +} void Vector_insertionSort(Vector* this); |