#ifndef ICU4XCaseMapCloser_H #define ICU4XCaseMapCloser_H #include #include #include #include #include "diplomat_runtime.h" #ifdef __cplusplus namespace capi { #endif typedef struct ICU4XCaseMapCloser ICU4XCaseMapCloser; #ifdef __cplusplus } // namespace capi #endif #include "ICU4XDataProvider.h" #include "diplomat_result_box_ICU4XCaseMapCloser_ICU4XError.h" #include "ICU4XCodePointSetBuilder.h" #ifdef __cplusplus namespace capi { extern "C" { #endif diplomat_result_box_ICU4XCaseMapCloser_ICU4XError ICU4XCaseMapCloser_create(const ICU4XDataProvider* provider); void ICU4XCaseMapCloser_add_case_closure_to(const ICU4XCaseMapCloser* self, char32_t c, ICU4XCodePointSetBuilder* builder); bool ICU4XCaseMapCloser_add_string_case_closure_to(const ICU4XCaseMapCloser* self, const char* s_data, size_t s_len, ICU4XCodePointSetBuilder* builder); void ICU4XCaseMapCloser_destroy(ICU4XCaseMapCloser* self); #ifdef __cplusplus } // extern "C" } // namespace capi #endif #endif