Mercurial > hg > th-libs
diff th_regex.h @ 771:c17eadc60c3d
Rename th_ioctx struct to th_ioctx_t, for consistency. Breaks API.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 20 Feb 2023 23:33:45 +0200 |
parents | 29e44a58bc73 |
children |
line wrap: on
line diff
--- a/th_regex.h Sun Feb 12 14:08:09 2023 +0200 +++ b/th_regex.h Mon Feb 20 23:33:45 2023 +0200 @@ -68,7 +68,7 @@ #ifdef TH_EXPERIMENTAL_REGEX_DEBUG -extern th_ioctx *th_dbg_fh; +extern th_ioctx_t *th_dbg_fh; #endif @@ -77,7 +77,7 @@ // int th_regex_compile(th_regex_t **pexpr, const th_char_t *pattern); void th_regex_free(th_regex_t *expr); -void th_regex_dump(th_ioctx *fh, const int level, const th_regex_t *expr); +void th_regex_dump(th_ioctx_t *fh, const int level, const th_regex_t *expr); int th_regex_match(const th_regex_t *expr, const th_char_t *haystack, size_t *pnmatches, th_regex_match_t **pmatches, const size_t maxmatches,