14 #ifndef T3_WIDGET_STRINGMATCHER_H
15 #define T3_WIDGET_STRINGMATCHER_H
18 #include <t3widget/widget_api.h>
19 #include <t3widget/util.h>
25 cleanup_free_ptr<char>::t needle;
27 cleanup_ptr<int[]>::t partial_match_table, reverse_partial_match_table, index_table;
36 int next_char(
const std::string *c);
37 int previous_char(
const std::string *c);
38 int next_char(
const char *c,
size_t c_size);
39 int previous_char(
const char *c,
size_t c_size);