Debian Codegraph @

intl/icu_capi/bindings/cpp/ICU4XLocaleFallbacker.h

raw
1 #ifndef ICU4XLocaleFallbacker_H
2 #define ICU4XLocaleFallbacker_H
3 #include <stdio.h>
4 #include <stdint.h>
5 #include <stddef.h>
6 #include <stdbool.h>
7 #include "diplomat_runtime.h"
8
9 #ifdef __cplusplus
10 namespace capi {
11 #endif
12
13 typedef struct ICU4XLocaleFallbacker ICU4XLocaleFallbacker;
14 #ifdef __cplusplus
15 } // namespace capi
16 #endif
17 #include "ICU4XDataProvider.h"
18 #include "diplomat_result_box_ICU4XLocaleFallbacker_ICU4XError.h"
19 #include "ICU4XLocaleFallbackConfig.h"
20 #include "diplomat_result_box_ICU4XLocaleFallbackerWithConfig_ICU4XError.h"
21 #ifdef __cplusplus
22 namespace capi {
23 extern "C" {
24 #endif
25
26 diplomat_result_box_ICU4XLocaleFallbacker_ICU4XError ICU4XLocaleFallbacker_create(const ICU4XDataProvider* provider);
27
28 ICU4XLocaleFallbacker* ICU4XLocaleFallbacker_create_without_data();
29
30 diplomat_result_box_ICU4XLocaleFallbackerWithConfig_ICU4XError ICU4XLocaleFallbacker_for_config(const ICU4XLocaleFallbacker* self, ICU4XLocaleFallbackConfig config);
31 void ICU4XLocaleFallbacker_destroy(ICU4XLocaleFallbacker* self);
32
33 #ifdef __cplusplus
34 } // extern "C"
35 } // namespace capi
36 #endif
37 #endif