Changeset 28a5ebd in mainline for uspace/dist/src/c/demos/edit/search.h
- Timestamp:
- 2020-06-18T15:39:50Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce52c333
- Parents:
- 4f663f3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/c/demos/edit/search.h
r4f663f3e r28a5ebd 41 41 struct search; 42 42 typedef struct search search_t; 43 typedef bool (*search_equals_fn)(const wchar_t, const wchar_t);44 typedef errno_t (*search_producer_fn)(void *, wchar_t *);43 typedef bool (*search_equals_fn)(const char32_t, const char32_t); 44 typedef errno_t (*search_producer_fn)(void *, char32_t *); 45 45 typedef errno_t (*search_mark_fn)(void *, void **); 46 46 typedef void (*search_mark_free_fn)(void *); … … 58 58 } search_ops_t; 59 59 60 extern bool char_exact_equals(const wchar_t, const wchar_t);60 extern bool char_exact_equals(const char32_t, const char32_t); 61 61 extern search_t *search_init(const char *, void *, search_ops_t, bool); 62 62 extern errno_t search_next_match(search_t *, match_t *);
Note:
See TracChangeset
for help on using the changeset viewer.