Mercurial > hg > th-libs
diff th_string.h @ 30:10d2dc143e4b
Add helper functions th_pstr_vprintf() and th_pstr_printf().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 11 Jun 2011 05:04:39 +0300 |
parents | 04cfdefc3253 |
children | e9a3fe655dd9 |
line wrap: on
line diff
--- a/th_string.h Sat Jun 11 05:03:58 2011 +0300 +++ b/th_string.h Sat Jun 11 05:04:39 2011 +0300 @@ -50,6 +50,9 @@ char *th_strdup_vprintf(const char *, va_list); char *th_strdup_printf(const char *, ...); +void th_pstr_vprintf(char **, const char *, va_list); +void th_pstr_printf(char **, const char *, ...); + char *th_strdup(const char *); int th_pstrcpy(char **, const char *); int th_pstrcat(char **, const char *);