#ifndef diplomat_result_box_ICU4XListFormatter_ICU4XError_H #define diplomat_result_box_ICU4XListFormatter_ICU4XError_H #include #include #include #include #include "diplomat_runtime.h" typedef struct ICU4XListFormatter ICU4XListFormatter; #include "ICU4XError.h" #ifdef __cplusplus namespace capi { extern "C" { #endif typedef struct diplomat_result_box_ICU4XListFormatter_ICU4XError { union { ICU4XListFormatter* ok; ICU4XError err; }; bool is_ok; } diplomat_result_box_ICU4XListFormatter_ICU4XError; #ifdef __cplusplus } // extern "C" } // namespace capi #endif #endif