LocaleExpander.h (1513B)
1 #ifndef LocaleExpander_H 2 #define LocaleExpander_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 "Locale.d.h" 13 #include "TransformResult.d.h" 14 15 #include "LocaleExpander.d.h" 16 17 18 19 20 21 22 LocaleExpander* icu4x_LocaleExpander_create_common_mv1(void); 23 24 typedef struct icu4x_LocaleExpander_create_common_with_provider_mv1_result {union {LocaleExpander* ok; DataError err;}; bool is_ok;} icu4x_LocaleExpander_create_common_with_provider_mv1_result; 25 icu4x_LocaleExpander_create_common_with_provider_mv1_result icu4x_LocaleExpander_create_common_with_provider_mv1(const DataProvider* provider); 26 27 LocaleExpander* icu4x_LocaleExpander_create_extended_mv1(void); 28 29 typedef struct icu4x_LocaleExpander_create_extended_with_provider_mv1_result {union {LocaleExpander* ok; DataError err;}; bool is_ok;} icu4x_LocaleExpander_create_extended_with_provider_mv1_result; 30 icu4x_LocaleExpander_create_extended_with_provider_mv1_result icu4x_LocaleExpander_create_extended_with_provider_mv1(const DataProvider* provider); 31 32 TransformResult icu4x_LocaleExpander_maximize_mv1(const LocaleExpander* self, Locale* locale); 33 34 TransformResult icu4x_LocaleExpander_minimize_mv1(const LocaleExpander* self, Locale* locale); 35 36 TransformResult icu4x_LocaleExpander_minimize_favor_script_mv1(const LocaleExpander* self, Locale* locale); 37 38 void icu4x_LocaleExpander_destroy_mv1(LocaleExpander* self); 39 40 41 42 43 44 #endif // LocaleExpander_H