summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/c/include/diplomat_result_int32_t_ICU4XError.h
blob: adbe148dd153f8b70feebea749825c7d491c324c (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
#ifndef diplomat_result_int32_t_ICU4XError_H
#define diplomat_result_int32_t_ICU4XError_H
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "diplomat_runtime.h"

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