Mercurial > hg > th-libs
diff tests.c @ 664:c5aa9ada1051
s/th_regex_char_t/th_char_t/g
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 27 Jan 2020 07:48:27 +0200 |
parents | 18fe45e61b2b |
children | e1d27caf0dbd |
line wrap: on
line diff
--- a/tests.c Mon Jan 27 07:47:26 2020 +0200 +++ b/tests.c Mon Jan 27 07:48:27 2020 +0200 @@ -568,7 +568,7 @@ typedef struct { - th_regex_char_t *str; + th_char_t *str; size_t nmatches; int flags; } test_regex_def1; @@ -576,14 +576,14 @@ typedef struct { - th_regex_char_t *pattern; - th_regex_char_t *str; + th_char_t *pattern; + th_char_t *str; size_t nmatches; int flags; } test_regex_def2; -void test_regex_print_matches(const th_regex_char_t *str, const th_regex_match_t *matches) +void test_regex_print_matches(const th_char_t *str, const th_regex_match_t *matches) { for (const th_regex_match_t *mt = matches; mt != NULL; mt = (th_regex_match_t *) mt->node.next) @@ -598,7 +598,7 @@ } -void test_regex_list1(const test_regex_def1 *list, const th_regex_char_t *pattern) +void test_regex_list1(const test_regex_def1 *list, const th_char_t *pattern) { th_regex_t *expr = NULL; int res;