tor-browser

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

ListFormatter.h (2822B)


      1 #ifndef ListFormatter_H
      2 #define ListFormatter_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 "ListLength.d.h"
     13 #include "Locale.d.h"
     14 
     15 #include "ListFormatter.d.h"
     16 
     17 
     18 
     19 
     20 
     21 
     22 typedef struct icu4x_ListFormatter_create_and_with_length_mv1_result {union {ListFormatter* ok; DataError err;}; bool is_ok;} icu4x_ListFormatter_create_and_with_length_mv1_result;
     23 icu4x_ListFormatter_create_and_with_length_mv1_result icu4x_ListFormatter_create_and_with_length_mv1(const Locale* locale, ListLength length);
     24 
     25 typedef struct icu4x_ListFormatter_create_and_with_length_and_provider_mv1_result {union {ListFormatter* ok; DataError err;}; bool is_ok;} icu4x_ListFormatter_create_and_with_length_and_provider_mv1_result;
     26 icu4x_ListFormatter_create_and_with_length_and_provider_mv1_result icu4x_ListFormatter_create_and_with_length_and_provider_mv1(const DataProvider* provider, const Locale* locale, ListLength length);
     27 
     28 typedef struct icu4x_ListFormatter_create_or_with_length_mv1_result {union {ListFormatter* ok; DataError err;}; bool is_ok;} icu4x_ListFormatter_create_or_with_length_mv1_result;
     29 icu4x_ListFormatter_create_or_with_length_mv1_result icu4x_ListFormatter_create_or_with_length_mv1(const Locale* locale, ListLength length);
     30 
     31 typedef struct icu4x_ListFormatter_create_or_with_length_and_provider_mv1_result {union {ListFormatter* ok; DataError err;}; bool is_ok;} icu4x_ListFormatter_create_or_with_length_and_provider_mv1_result;
     32 icu4x_ListFormatter_create_or_with_length_and_provider_mv1_result icu4x_ListFormatter_create_or_with_length_and_provider_mv1(const DataProvider* provider, const Locale* locale, ListLength length);
     33 
     34 typedef struct icu4x_ListFormatter_create_unit_with_length_mv1_result {union {ListFormatter* ok; DataError err;}; bool is_ok;} icu4x_ListFormatter_create_unit_with_length_mv1_result;
     35 icu4x_ListFormatter_create_unit_with_length_mv1_result icu4x_ListFormatter_create_unit_with_length_mv1(const Locale* locale, ListLength length);
     36 
     37 typedef struct icu4x_ListFormatter_create_unit_with_length_and_provider_mv1_result {union {ListFormatter* ok; DataError err;}; bool is_ok;} icu4x_ListFormatter_create_unit_with_length_and_provider_mv1_result;
     38 icu4x_ListFormatter_create_unit_with_length_and_provider_mv1_result icu4x_ListFormatter_create_unit_with_length_and_provider_mv1(const DataProvider* provider, const Locale* locale, ListLength length);
     39 
     40 void icu4x_ListFormatter_format_utf8_mv1(const ListFormatter* self, DiplomatStringsView list, DiplomatWrite* write);
     41 
     42 void icu4x_ListFormatter_format_utf16_mv1(const ListFormatter* self, DiplomatStrings16View list, DiplomatWrite* write);
     43 
     44 void icu4x_ListFormatter_destroy_mv1(ListFormatter* self);
     45 
     46 
     47 
     48 
     49 
     50 #endif // ListFormatter_H