#ifndef GraphemeClusterSegmenter_H #define GraphemeClusterSegmenter_H #include #include #include #include #include "diplomat_runtime.h" #include "DataError.d.h" #include "DataProvider.d.h" #include "GraphemeClusterBreakIteratorLatin1.d.h" #include "GraphemeClusterBreakIteratorUtf16.d.h" #include "GraphemeClusterBreakIteratorUtf8.d.h" #include "GraphemeClusterSegmenter.d.h" typedef struct icu4x_GraphemeClusterSegmenter_create_mv1_result {union {GraphemeClusterSegmenter* ok; DataError err;}; bool is_ok;} icu4x_GraphemeClusterSegmenter_create_mv1_result; icu4x_GraphemeClusterSegmenter_create_mv1_result icu4x_GraphemeClusterSegmenter_create_mv1(const DataProvider* provider); GraphemeClusterBreakIteratorUtf8* icu4x_GraphemeClusterSegmenter_segment_utf8_mv1(const GraphemeClusterSegmenter* self, DiplomatStringView input); GraphemeClusterBreakIteratorUtf16* icu4x_GraphemeClusterSegmenter_segment_utf16_mv1(const GraphemeClusterSegmenter* self, DiplomatString16View input); GraphemeClusterBreakIteratorLatin1* icu4x_GraphemeClusterSegmenter_segment_latin1_mv1(const GraphemeClusterSegmenter* self, DiplomatU8View input); void icu4x_GraphemeClusterSegmenter_destroy_mv1(GraphemeClusterSegmenter* self); #endif // GraphemeClusterSegmenter_H