Debian Codegraph @

intl/icu_capi/bindings/cpp/diplomat_result_box_ICU4XWordSegmenter_ICU4XError.h

raw
1 #ifndef diplomat_result_box_ICU4XWordSegmenter_ICU4XError_H
2 #define diplomat_result_box_ICU4XWordSegmenter_ICU4XError_H
3 #include <stdio.h>
4 #include <stdint.h>
5 #include <stddef.h>
6 #include <stdbool.h>
7 #include "diplomat_runtime.h"
8
9 #include "ICU4XWordSegmenter.h"
10 #include "ICU4XError.h"
11 #ifdef __cplusplus
12 namespace capi {
13 extern "C" {
14 #endif
15 typedef struct diplomat_result_box_ICU4XWordSegmenter_ICU4XError {
16 union {
17 ICU4XWordSegmenter* ok;
18 ICU4XError err;
19 };
20 bool is_ok;
21 } diplomat_result_box_ICU4XWordSegmenter_ICU4XError;
22 #ifdef __cplusplus
23 } // extern "C"
24 } // namespace capi
25 #endif
26 #endif