95 |
void *result, |
void *result, |
96 |
algo_predicate_func *predicate, void *aux); |
algo_predicate_func *predicate, void *aux); |
97 |
|
|
98 |
|
/* Removes N elements starting at IDX from ARRAY, which consists |
99 |
|
of COUNT elements of SIZE bytes each, by shifting the elements |
100 |
|
following them, if any, into its position. */ |
101 |
|
void remove_range (void *array, size_t count, size_t size, |
102 |
|
size_t idx, size_t n); |
103 |
|
|
104 |
|
/* Removes element IDX from ARRAY, which consists of COUNT |
105 |
|
elements of SIZE bytes each, by shifting the elements |
106 |
|
following it, if any, into its position. */ |
107 |
|
void remove_element (void *array, size_t count, size_t size, |
108 |
|
size_t idx); |
109 |
|
|
110 |
/* Removes elements equal to ELEMENT from ARRAY, which consists |
/* Removes elements equal to ELEMENT from ARRAY, which consists |
111 |
of COUNT elements of SIZE bytes each. Returns the number of |
of COUNT elements of SIZE bytes each. Returns the number of |
112 |
remaining elements. AUX is passed to COMPARE as auxiliary |
remaining elements. AUX is passed to COMPARE as auxiliary |