From 58241bc88020e972b7719753c3838a5557ac4d84 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 17 May 2021 08:22:23 +0000 Subject: xstring: extend memory allocation --- xstring.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xstring.h') diff --git a/xstring.h b/xstring.h index 3e98ec9..a0426d6 100644 --- a/xstring.h +++ b/xstring.h @@ -10,6 +10,7 @@ typedef struct tag_string { } string; string *string_alloc(const char *text); +string *string_nalloc(const char *text, size_t text_len); void string_release(string *str); void string_reset(string *str); void string_addch(string *str, int ch); -- cgit v1.2.3-18-g5258