Debian Codegraph @

intl/icu_capi/bindings/c/ICU4XListFormatter.h

raw
1 #ifndef ICU4XListFormatter_H
2 #define ICU4XListFormatter_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 ICU4XListFormatter ICU4XListFormatter;
14 #ifdef __cplusplus
15 } // namespace capi
16 #endif
17 #include "ICU4XDataProvider.h"
18 #include "ICU4XLocale.h"
19 #include "ICU4XListLength.h"
20 #include "diplomat_result_box_ICU4XListFormatter_ICU4XError.h"
21 #include "ICU4XList.h"
22 #include "diplomat_result_void_ICU4XError.h"
23 #ifdef __cplusplus
24 namespace capi {
25 extern "C" {
26 #endif
27
28 diplomat_result_box_ICU4XListFormatter_ICU4XError ICU4XListFormatter_create_and_with_length(const ICU4XDataProvider* provider, const ICU4XLocale* locale, ICU4XListLength length);
29
30 diplomat_result_box_ICU4XListFormatter_ICU4XError ICU4XListFormatter_create_or_with_length(const ICU4XDataProvider* provider, const ICU4XLocale* locale, ICU4XListLength length);
31
32 diplomat_result_box_ICU4XListFormatter_ICU4XError ICU4XListFormatter_create_unit_with_length(const ICU4XDataProvider* provider, const ICU4XLocale* locale, ICU4XListLength length);
33
34 diplomat_result_void_ICU4XError ICU4XListFormatter_format(const ICU4XListFormatter* self, const ICU4XList* list, DiplomatWriteable* write);
35 void ICU4XListFormatter_destroy(ICU4XListFormatter* self);
36
37 #ifdef __cplusplus
38 } // extern "C"
39 } // namespace capi
40 #endif
41 #endif