| 42 cxCollectionSorted(c) |
42 cxCollectionSorted(c) |
| 43 ``` |
43 ``` |
| 44 |
44 |
| 45 In each case the argument `c` is a pointer to your collection. The macro will then access the base data with `c->collection`. |
45 In each case the argument `c` is a pointer to your collection. The macro will then access the base data with `c->collection`. |
| 46 |
46 |
| |
47 Similar to the above macros, the `cxCollectionCompareFunc(c,f)` macro can be used to set the compare function. |
| |
48 |
| 47 ## Destructor Functions |
49 ## Destructor Functions |
| 48 |
50 |
| 49 For working with destructors, the following macros are defined: |
51 For working with destructors, the following macros are defined: |
| 50 |
52 |
| 51 ```C |
53 ```C |