summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/include/ICU4XLocaleFallbackConfig.h
blob: b40d1154187981fd8bd9b7268fdf55f30ccc58ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef ICU4XLocaleFallbackConfig_H
#define ICU4XLocaleFallbackConfig_H
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "diplomat_runtime.h"

#include "ICU4XLocaleFallbackPriority.h"
#include "ICU4XLocaleFallbackSupplement.h"
#ifdef __cplusplus
namespace capi {
#endif

typedef struct ICU4XLocaleFallbackConfig {
    ICU4XLocaleFallbackPriority priority;
    DiplomatStringView extension_key;
    ICU4XLocaleFallbackSupplement fallback_supplement;
} ICU4XLocaleFallbackConfig;
#ifdef __cplusplus
} // namespace capi
#endif
#include "ICU4XLocaleFallbackPriority.h"
#include "ICU4XLocaleFallbackSupplement.h"
#ifdef __cplusplus
namespace capi {
extern "C" {
#endif

void ICU4XLocaleFallbackConfig_destroy(ICU4XLocaleFallbackConfig* self);

#ifdef __cplusplus
} // extern "C"
} // namespace capi
#endif
#endif