Debian Codegraph @

intl/icu_capi/bindings/c/ICU4XCalendar.h

raw
1 #ifndef ICU4XCalendar_H
2 #define ICU4XCalendar_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 ICU4XCalendar ICU4XCalendar;
14 #ifdef __cplusplus
15 } // namespace capi
16 #endif
17 #include "ICU4XDataProvider.h"
18 #include "ICU4XLocale.h"
19 #include "diplomat_result_box_ICU4XCalendar_ICU4XError.h"
20 #include "ICU4XAnyCalendarKind.h"
21 #ifdef __cplusplus
22 namespace capi {
23 extern "C" {
24 #endif
25
26 diplomat_result_box_ICU4XCalendar_ICU4XError ICU4XCalendar_create_for_locale(const ICU4XDataProvider* provider, const ICU4XLocale* locale);
27
28 diplomat_result_box_ICU4XCalendar_ICU4XError ICU4XCalendar_create_for_kind(const ICU4XDataProvider* provider, ICU4XAnyCalendarKind kind);
29
30 ICU4XAnyCalendarKind ICU4XCalendar_kind(const ICU4XCalendar* self);
31 void ICU4XCalendar_destroy(ICU4XCalendar* self);
32
33 #ifdef __cplusplus
34 } // extern "C"
35 } // namespace capi
36 #endif
37 #endif