comparison th_string.h @ 346:691f3ad00943

Remove th_strlen() again. I suppose UTF8 aware functions would make sense at some point, though.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Feb 2016 01:33:33 +0200
parents cda5a2aebbb6
children f6b9991d76ed
comparison
equal deleted inserted replaced
345:d5e5f6019584 346:691f3ad00943
78 typedef int (*th_printf_vputch)(th_printf_ctx *ctx, const char ch); 78 typedef int (*th_printf_vputch)(th_printf_ctx *ctx, const char ch);
79 79
80 80
81 /* Normal NUL-terminated string functions 81 /* Normal NUL-terminated string functions
82 */ 82 */
83 size_t th_strlen(const char *str);
84
85 char *th_strdup(const char *src); 83 char *th_strdup(const char *src);
86 char *th_strndup(const char *src, const size_t n); 84 char *th_strndup(const char *src, const size_t n);
87 char *th_strdup_trim(const char *, const int flags); 85 char *th_strdup_trim(const char *, const int flags);
88 char *th_strndup_trim(const char *, const size_t n, const int flags); 86 char *th_strndup_trim(const char *, const size_t n, const int flags);
89 87