summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/include/ICU4XScriptWithExtensionsBorrowed.h
blob: 82faeec1786bdd481b63d4b28d949ecf56c7dee2 (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
37
#ifndef ICU4XScriptWithExtensionsBorrowed_H
#define ICU4XScriptWithExtensionsBorrowed_H
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "diplomat_runtime.h"

#ifdef __cplusplus
namespace capi {
#endif

typedef struct ICU4XScriptWithExtensionsBorrowed ICU4XScriptWithExtensionsBorrowed;
#ifdef __cplusplus
} // namespace capi
#endif
#include "ICU4XScriptExtensionsSet.h"
#include "ICU4XCodePointSetData.h"
#ifdef __cplusplus
namespace capi {
extern "C" {
#endif

uint16_t ICU4XScriptWithExtensionsBorrowed_get_script_val(const ICU4XScriptWithExtensionsBorrowed* self, uint32_t code_point);

ICU4XScriptExtensionsSet* ICU4XScriptWithExtensionsBorrowed_get_script_extensions_val(const ICU4XScriptWithExtensionsBorrowed* self, uint32_t code_point);

bool ICU4XScriptWithExtensionsBorrowed_has_script(const ICU4XScriptWithExtensionsBorrowed* self, uint32_t code_point, uint16_t script);

ICU4XCodePointSetData* ICU4XScriptWithExtensionsBorrowed_get_script_extensions_set(const ICU4XScriptWithExtensionsBorrowed* self, uint16_t script);
void ICU4XScriptWithExtensionsBorrowed_destroy(ICU4XScriptWithExtensionsBorrowed* self);

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