diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-05-16 16:33:34 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-05-16 16:33:34 +0200 |
commit | 92fd2382d9959ad6e11b26a4c7703d9336d75243 (patch) | |
tree | 3c93f2c8fe52626c61083812c728435252e59608 /include/libHX/string.h | |
parent | 246015cb71b7f0a599d1870185d73f2326adb911 (diff) | |
parent | 6d36bb20f860c069631bc50dce7e332c80a54730 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'include/libHX/string.h')
-rw-r--r-- | include/libHX/string.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libHX/string.h b/include/libHX/string.h index f7146b5..4dc4c11 100644 --- a/include/libHX/string.h +++ b/include/libHX/string.h @@ -66,8 +66,10 @@ extern char *HX_dirname(const char *); extern hxmc_t *HX_getl(hxmc_t **, FILE *); extern void *HX_memmem(const void *, size_t, const void *, size_t); extern char **HX_split(const char *, const char *, int *, int); -extern char **HX_split4(char *, const char *, int *, int); -extern int HX_split5(char *, const char *, int, char **); +extern int HX_split_fixed(char *, const char *, int, char **); +extern char **HX_split_inplace(char *, const char *, int *, int); +#define HX_split4(a, b, c, d) HX_split_inplace((a), (b), (c), (d)) +#define HX_split5(a, b, c, d) HX_split_fixed((a), (b), (c), (d)) extern char *HX_strbchr(const char *, const char *, char); extern char *HX_strchr2(const char *, const char *); extern char *HX_strclone(char **, const char *); |