#ifndef ICU4XPluralRules_H #define ICU4XPluralRules_H #include #include #include #include #include "diplomat_runtime.h" #ifdef __cplusplus namespace capi { #endif typedef struct ICU4XPluralRules ICU4XPluralRules; #ifdef __cplusplus } // namespace capi #endif #include "ICU4XDataProvider.h" #include "ICU4XLocale.h" #include "diplomat_result_box_ICU4XPluralRules_ICU4XError.h" #include "ICU4XPluralOperands.h" #include "ICU4XPluralCategory.h" #include "ICU4XPluralCategories.h" #ifdef __cplusplus namespace capi { extern "C" { #endif diplomat_result_box_ICU4XPluralRules_ICU4XError ICU4XPluralRules_create_cardinal(const ICU4XDataProvider* provider, const ICU4XLocale* locale); diplomat_result_box_ICU4XPluralRules_ICU4XError ICU4XPluralRules_create_ordinal(const ICU4XDataProvider* provider, const ICU4XLocale* locale); ICU4XPluralCategory ICU4XPluralRules_category_for(const ICU4XPluralRules* self, const ICU4XPluralOperands* op); ICU4XPluralCategories ICU4XPluralRules_categories(const ICU4XPluralRules* self); void ICU4XPluralRules_destroy(ICU4XPluralRules* self); #ifdef __cplusplus } // extern "C" } // namespace capi #endif #endif