| 116 | } sh_paths_t; |
| 117 | |
| 118 | static void sh_paths_push(sh_paths_t *v, const char *p) { |
| 119 | if (sh_grow((void **)&v->items, &v->cap, v->count, sizeof(*v->items))) { |
| 120 | v->items[v->count++] = p; |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | static int sh_cmp_str(const void *a, const void *b) { |
| 125 | return strcmp(*(const char *const *)a, *(const char *const *)b); |
no test coverage detected