| 191 | } |
| 192 | |
| 193 | int array_append(ARRAY *a, void *obj) |
| 194 | { |
| 195 | if (a->count >= a->capacity) { |
| 196 | array_grow(a, a->count + 16); |
| 197 | } |
| 198 | a->items[a->count++] = obj; |
| 199 | return a->count - 1; |
| 200 | } |
| 201 | |
| 202 | int array_pred_insert(ARRAY *a, int position, void *obj) |
| 203 | { |
no test coverage detected
searching dependent graphs…