summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/include/diplomat_result_box_ICU4XCaseMapper_ICU4XError.h
blob: c6e03a748cf413528beebcfd8eb480d795ab2a50 (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_ICU4XCaseMapper_ICU4XError_H
#define diplomat_result_box_ICU4XCaseMapper_ICU4XError_H
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "diplomat_runtime.h"

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