CaseMapCloser.h (1163B)
1 #ifndef CaseMapCloser_H 2 #define CaseMapCloser_H 3 4 #include <stdio.h> 5 #include <stdint.h> 6 #include <stddef.h> 7 #include <stdbool.h> 8 #include "diplomat_runtime.h" 9 10 #include "CodePointSetBuilder.d.h" 11 #include "DataError.d.h" 12 #include "DataProvider.d.h" 13 14 #include "CaseMapCloser.d.h" 15 16 17 18 19 20 21 typedef struct icu4x_CaseMapCloser_create_mv1_result {union {CaseMapCloser* ok; DataError err;}; bool is_ok;} icu4x_CaseMapCloser_create_mv1_result; 22 icu4x_CaseMapCloser_create_mv1_result icu4x_CaseMapCloser_create_mv1(void); 23 24 typedef struct icu4x_CaseMapCloser_create_with_provider_mv1_result {union {CaseMapCloser* ok; DataError err;}; bool is_ok;} icu4x_CaseMapCloser_create_with_provider_mv1_result; 25 icu4x_CaseMapCloser_create_with_provider_mv1_result icu4x_CaseMapCloser_create_with_provider_mv1(const DataProvider* provider); 26 27 void icu4x_CaseMapCloser_add_case_closure_to_mv1(const CaseMapCloser* self, char32_t c, CodePointSetBuilder* builder); 28 29 bool icu4x_CaseMapCloser_add_string_case_closure_to_mv1(const CaseMapCloser* self, DiplomatStringView s, CodePointSetBuilder* builder); 30 31 void icu4x_CaseMapCloser_destroy_mv1(CaseMapCloser* self); 32 33 34 35 36 37 #endif // CaseMapCloser_H