tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

GraphemeClusterSegmenter.h (1437B)


      1 #ifndef GraphemeClusterSegmenter_H
      2 #define GraphemeClusterSegmenter_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 "DataError.d.h"
     11 #include "DataProvider.d.h"
     12 #include "GraphemeClusterBreakIteratorLatin1.d.h"
     13 #include "GraphemeClusterBreakIteratorUtf16.d.h"
     14 #include "GraphemeClusterBreakIteratorUtf8.d.h"
     15 
     16 #include "GraphemeClusterSegmenter.d.h"
     17 
     18 
     19 
     20 
     21 
     22 
     23 GraphemeClusterSegmenter* icu4x_GraphemeClusterSegmenter_create_mv1(void);
     24 
     25 typedef struct icu4x_GraphemeClusterSegmenter_create_with_provider_mv1_result {union {GraphemeClusterSegmenter* ok; DataError err;}; bool is_ok;} icu4x_GraphemeClusterSegmenter_create_with_provider_mv1_result;
     26 icu4x_GraphemeClusterSegmenter_create_with_provider_mv1_result icu4x_GraphemeClusterSegmenter_create_with_provider_mv1(const DataProvider* provider);
     27 
     28 GraphemeClusterBreakIteratorUtf8* icu4x_GraphemeClusterSegmenter_segment_utf8_mv1(const GraphemeClusterSegmenter* self, DiplomatStringView input);
     29 
     30 GraphemeClusterBreakIteratorUtf16* icu4x_GraphemeClusterSegmenter_segment_utf16_mv1(const GraphemeClusterSegmenter* self, DiplomatString16View input);
     31 
     32 GraphemeClusterBreakIteratorLatin1* icu4x_GraphemeClusterSegmenter_segment_latin1_mv1(const GraphemeClusterSegmenter* self, DiplomatU8View input);
     33 
     34 void icu4x_GraphemeClusterSegmenter_destroy_mv1(GraphemeClusterSegmenter* self);
     35 
     36 
     37 
     38 
     39 
     40 #endif // GraphemeClusterSegmenter_H