summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/c/include/diplomat_result_box_ICU4XPluralRules_ICU4XError.h
blob: 4fa522b8508f38560c3c3e82a66dee82a1ee3844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef diplomat_result_box_ICU4XPluralRules_ICU4XError_H
#define diplomat_result_box_ICU4XPluralRules_ICU4XError_H
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "diplomat_runtime.h"

typedef struct ICU4XPluralRules ICU4XPluralRules;
#include "ICU4XError.h"
#ifdef __cplusplus
namespace capi {
extern "C" {
#endif
typedef struct diplomat_result_box_ICU4XPluralRules_ICU4XError {
    union {
        ICU4XPluralRules* ok;
        ICU4XError err;
    };
    bool is_ok;
} diplomat_result_box_ICU4XPluralRules_ICU4XError;
#ifdef __cplusplus
} // extern "C"
} // namespace capi
#endif
#endif