Remove declarations for nonexisting functions in str_array.h
This commit is contained in:
parent
4babe735e8
commit
673bb2f6d9
1 changed files with 0 additions and 12 deletions
|
@ -24,16 +24,6 @@ typedef struct _str_array {
|
||||||
R3_VECTOR(r3_iovec_t) tokens;
|
R3_VECTOR(r3_iovec_t) tokens;
|
||||||
} str_array;
|
} str_array;
|
||||||
|
|
||||||
// str_array * str_array_create(int cap);
|
|
||||||
|
|
||||||
bool str_array_slugs_full(const str_array * l);
|
|
||||||
|
|
||||||
// bool str_array_tokens_full(const str_array * l);
|
|
||||||
|
|
||||||
// bool str_array_resize(str_array *l, int new_cap);
|
|
||||||
|
|
||||||
// bool str_array_append_slug(str_array * l, char * slug);
|
|
||||||
|
|
||||||
bool str_array_append(str_array * l, const char * token, unsigned int len);
|
bool str_array_append(str_array * l, const char * token, unsigned int len);
|
||||||
|
|
||||||
void str_array_free(str_array *l);
|
void str_array_free(str_array *l);
|
||||||
|
@ -42,8 +32,6 @@ void str_array_dump_slugs(const str_array *l);
|
||||||
|
|
||||||
void str_array_dump(const str_array *l);
|
void str_array_dump(const str_array *l);
|
||||||
|
|
||||||
str_array * split_route_pattern(char *pattern, int pattern_len);
|
|
||||||
|
|
||||||
#define str_array_fetch(t,i) t->tokens[i]
|
#define str_array_fetch(t,i) t->tokens[i]
|
||||||
#define str_array_len(t) t->len
|
#define str_array_len(t) t->len
|
||||||
#define str_array_cap(t) t->cap
|
#define str_array_cap(t) t->cap
|
||||||
|
|
Loading…
Reference in a new issue