diff options
Diffstat (limited to 'xstring.h')
-rw-r--r-- | xstring.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -9,8 +9,9 @@ typedef struct tag_string { int capacity; } string; -string *string_alloc(const char *text); -string *string_nalloc(const char *text, size_t text_len); +string *string_alloc(string *str, const char *text); +string *string_nalloc(string *str, const char *text, + size_t text_len); void string_release(string *str); void string_reset(string *str); void string_addch(string *str, int ch); |