| 33 | `advanced_destructor` | An optional advanced destructor function. | |
33 | `advanced_destructor` | An optional advanced destructor function. | |
| 34 | `destructor_data` | A pointer to the custom data that shall be passed to the advanced destructor. | |
34 | `destructor_data` | A pointer to the custom data that shall be passed to the advanced destructor. | |
| 35 | `store_pointer` | A `bool` indicating whether this collection stores pointers instead of the element's data. | |
35 | `store_pointer` | A `bool` indicating whether this collection stores pointers instead of the element's data. | |
| 36 | `sorted` | A `bool` indicating whether the elements are currently guaranteed sorted with respect to the compare function. | |
36 | `sorted` | A `bool` indicating whether the elements are currently guaranteed sorted with respect to the compare function. | |
| 37 |
37 |
| 38 The attributes can be accessed directly via the `collection` member of your struct, or with the following convenience macros. |
38 The attributes can be accessed directly via the `collection` member of your struct or with the following convenience macros. |
| 39 |
39 |
| 40 ```C |
40 ```C |
| 41 cxCollectionSize(c) |
41 cxCollectionSize(c) |
| 42 cxCollectionElementSize(c) |
42 cxCollectionElementSize(c) |
| 43 cxCollectionStoresPointers(c) |
43 cxCollectionStoresPointers(c) |