Debian Codegraph @

intl/icu_capi/bindings/cpp/ICU4XIanaToBcp47Mapper.h

raw
1 #ifndef ICU4XIanaToBcp47Mapper_H
2 #define ICU4XIanaToBcp47Mapper_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 ICU4XIanaToBcp47Mapper ICU4XIanaToBcp47Mapper;
14 #ifdef __cplusplus
15 } // namespace capi
16 #endif
17 #include "ICU4XDataProvider.h"
18 #include "diplomat_result_box_ICU4XIanaToBcp47Mapper_ICU4XError.h"
19 #include "diplomat_result_void_ICU4XError.h"
20 #ifdef __cplusplus
21 namespace capi {
22 extern "C" {
23 #endif
24
25 diplomat_result_box_ICU4XIanaToBcp47Mapper_ICU4XError ICU4XIanaToBcp47Mapper_create(const ICU4XDataProvider* provider);
26
27 diplomat_result_void_ICU4XError ICU4XIanaToBcp47Mapper_get(const ICU4XIanaToBcp47Mapper* self, const char* value_data, size_t value_len, DiplomatWriteable* write);
28 void ICU4XIanaToBcp47Mapper_destroy(ICU4XIanaToBcp47Mapper* self);
29
30 #ifdef __cplusplus
31 } // extern "C"
32 } // namespace capi
33 #endif
34 #endif