#ifndef LocaleCanonicalizer_H #define LocaleCanonicalizer_H #include #include #include #include #include "diplomat_runtime.h" #include "DataError.d.h" #include "DataProvider.d.h" #include "Locale.d.h" #include "TransformResult.d.h" #include "LocaleCanonicalizer.d.h" typedef struct icu4x_LocaleCanonicalizer_create_mv1_result {union {LocaleCanonicalizer* ok; DataError err;}; bool is_ok;} icu4x_LocaleCanonicalizer_create_mv1_result; icu4x_LocaleCanonicalizer_create_mv1_result icu4x_LocaleCanonicalizer_create_mv1(const DataProvider* provider); typedef struct icu4x_LocaleCanonicalizer_create_extended_mv1_result {union {LocaleCanonicalizer* ok; DataError err;}; bool is_ok;} icu4x_LocaleCanonicalizer_create_extended_mv1_result; icu4x_LocaleCanonicalizer_create_extended_mv1_result icu4x_LocaleCanonicalizer_create_extended_mv1(const DataProvider* provider); TransformResult icu4x_LocaleCanonicalizer_canonicalize_mv1(const LocaleCanonicalizer* self, Locale* locale); void icu4x_LocaleCanonicalizer_destroy_mv1(LocaleCanonicalizer* self); #endif // LocaleCanonicalizer_H