summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/include/diplomat_result_box_ICU4XCalendar_ICU4XError.h
blob: bffa22c6b027ce55d1e478cca69adc43eb3ea0db (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_ICU4XCalendar_ICU4XError_H
#define diplomat_result_box_ICU4XCalendar_ICU4XError_H
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "diplomat_runtime.h"

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