|
@@ -75,14 +75,12 @@ extern void *array_list_bsearch(const void **key, struct array_list *arr, |
|
|
|
|
|
|
|
|
extern int array_list_del_idx(struct array_list *arr, size_t idx, size_t count); |
|
|
extern int array_list_del_idx(struct array_list *arr, size_t idx, size_t count); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Shrink the array list to just enough to fit the number of elements in it, |
|
|
* Shrink the array list to just enough to fit the number of elements in it, |
|
|
* plus empty_slots. |
|
|
* plus empty_slots. |
|
|
*/ |
|
|
*/ |
|
|
extern int array_list_shrink(struct array_list *arr, size_t empty_slots); |
|
|
extern int array_list_shrink(struct array_list *arr, size_t empty_slots); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
#ifdef __cplusplus |
|
|
} |
|
|
} |
|
|
#endif |
|
|
#endif |
|
|