Debian Codegraph @

intl/icu_capi/bindings/c/ICU4XCaseMapCloser.h

raw
1 #ifndef ICU4XCaseMapCloser_H
2 #define ICU4XCaseMapCloser_H
3 #include <stdio.h>
4 #include <stdint.h>
5 #include <stddef.h>
6 #include <stdbool.h>
7 #include "diplomat_runtime.h"
8
9 #ifdef __cplusplus
10 namespace capi {
11 #endif
12
13 typedef struct ICU4XCaseMapCloser ICU4XCaseMapCloser;
14 #ifdef __cplusplus
15 } // namespace capi
16 #endif
17 #include "ICU4XDataProvider.h"
18 #include "diplomat_result_box_ICU4XCaseMapCloser_ICU4XError.h"
19 #include "ICU4XCodePointSetBuilder.h"
20 #ifdef __cplusplus
21 namespace capi {
22 extern "C" {
23 #endif
24
25 diplomat_result_box_ICU4XCaseMapCloser_ICU4XError ICU4XCaseMapCloser_create(const ICU4XDataProvider* provider);
26
27 void ICU4XCaseMapCloser_add_case_closure_to(const ICU4XCaseMapCloser* self, char32_t c, ICU4XCodePointSetBuilder* builder);
28
29 bool ICU4XCaseMapCloser_add_string_case_closure_to(const ICU4XCaseMapCloser* self, const char* s_data, size_t s_len, ICU4XCodePointSetBuilder* builder);
30 void ICU4XCaseMapCloser_destroy(ICU4XCaseMapCloser* self);
31
32 #ifdef __cplusplus
33 } // extern "C"
34 } // namespace capi
35 #endif
36 #endif