diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /intl/icu_capi/c/include/ICU4XCodePointMapData16.h | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'intl/icu_capi/c/include/ICU4XCodePointMapData16.h')
-rw-r--r-- | intl/icu_capi/c/include/ICU4XCodePointMapData16.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/intl/icu_capi/c/include/ICU4XCodePointMapData16.h b/intl/icu_capi/c/include/ICU4XCodePointMapData16.h new file mode 100644 index 0000000000..19effe2d92 --- /dev/null +++ b/intl/icu_capi/c/include/ICU4XCodePointMapData16.h @@ -0,0 +1,43 @@ +#ifndef ICU4XCodePointMapData16_H +#define ICU4XCodePointMapData16_H +#include <stdio.h> +#include <stdint.h> +#include <stddef.h> +#include <stdbool.h> +#include "diplomat_runtime.h" + +#ifdef __cplusplus +namespace capi { +#endif + +typedef struct ICU4XCodePointMapData16 ICU4XCodePointMapData16; +#ifdef __cplusplus +} // namespace capi +#endif +#include "CodePointRangeIterator.h" +#include "ICU4XCodePointSetData.h" +#include "ICU4XDataProvider.h" +#include "diplomat_result_box_ICU4XCodePointMapData16_ICU4XError.h" +#ifdef __cplusplus +namespace capi { +extern "C" { +#endif + +uint16_t ICU4XCodePointMapData16_get(const ICU4XCodePointMapData16* self, char32_t cp); + +uint16_t ICU4XCodePointMapData16_get32(const ICU4XCodePointMapData16* self, uint32_t cp); + +CodePointRangeIterator* ICU4XCodePointMapData16_iter_ranges_for_value(const ICU4XCodePointMapData16* self, uint16_t value); + +CodePointRangeIterator* ICU4XCodePointMapData16_iter_ranges_for_value_complemented(const ICU4XCodePointMapData16* self, uint16_t value); + +ICU4XCodePointSetData* ICU4XCodePointMapData16_get_set_for_value(const ICU4XCodePointMapData16* self, uint16_t value); + +diplomat_result_box_ICU4XCodePointMapData16_ICU4XError ICU4XCodePointMapData16_load_script(const ICU4XDataProvider* provider); +void ICU4XCodePointMapData16_destroy(ICU4XCodePointMapData16* self); + +#ifdef __cplusplus +} // extern "C" +} // namespace capi +#endif +#endif |