Working on the condes feature
git-svn-id: svn://svn.cc65.org/cc65/trunk@451 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -113,10 +113,13 @@ void CollReplace (Collection* C, void* Item, unsigned Index);
|
||||
* just the pointer will et replaced.
|
||||
*/
|
||||
|
||||
void CollSort (Collection* C, int (*Compare) (const void*, const void*));
|
||||
/* Sort the collection using the given compare function.
|
||||
* BEWARE: The function uses qsort internally, so the Compare function does
|
||||
* actually get pointers to the object pointers, not just object pointers!
|
||||
void CollSort (Collection* C,
|
||||
int (*Compare) (void*, const void*, const void*),
|
||||
void* Data);
|
||||
/* Sort the collection using the given compare function. The data pointer is
|
||||
* passed as *first* element to the compare function, it's not used by the
|
||||
* sort function itself. The other two pointer passed to the Compare function
|
||||
* are pointers to objects.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user