| 11 | } |
| 12 | |
| 13 | void strvec_push_nodup(struct strvec *array, char *value) |
| 14 | { |
| 15 | if (array->v == empty_strvec) |
| 16 | array->v = NULL; |
| 17 | |
| 18 | ALLOC_GROW(array->v, array->nr + 2, array->alloc); |
| 19 | array->v[array->nr++] = value; |
| 20 | array->v[array->nr] = NULL; |
| 21 | } |
| 22 | |
| 23 | const char *strvec_push(struct strvec *array, const char *value) |
| 24 | { |
no outgoing calls
no test coverage detected