| 206 | } |
| 207 | |
| 208 | void acl_stack_append(ACL_STACK *s, void *obj) |
| 209 | { |
| 210 | if (s == NULL || obj == NULL) |
| 211 | return; |
| 212 | if (s->count >= s->capacity) |
| 213 | stack_grow(s, s->count + 16); |
| 214 | s->items[s->count++] = obj; |
| 215 | } |
| 216 | |
| 217 | void acl_stack_prepend(ACL_STACK *s, void *obj) |
| 218 | { |
searching dependent graphs…