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/ICU4XReorderedIndexMap.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/ICU4XReorderedIndexMap.h')
-rw-r--r-- | intl/icu_capi/c/include/ICU4XReorderedIndexMap.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/intl/icu_capi/c/include/ICU4XReorderedIndexMap.h b/intl/icu_capi/c/include/ICU4XReorderedIndexMap.h new file mode 100644 index 0000000000..f5507a7217 --- /dev/null +++ b/intl/icu_capi/c/include/ICU4XReorderedIndexMap.h @@ -0,0 +1,33 @@ +#ifndef ICU4XReorderedIndexMap_H +#define ICU4XReorderedIndexMap_H +#include <stdio.h> +#include <stdint.h> +#include <stddef.h> +#include <stdbool.h> +#include "diplomat_runtime.h" + +#ifdef __cplusplus +namespace capi { +#endif + +typedef struct ICU4XReorderedIndexMap ICU4XReorderedIndexMap; +#ifdef __cplusplus +} // namespace capi +#endif +#ifdef __cplusplus +namespace capi { +extern "C" { +#endif + +DiplomatUsizeView ICU4XReorderedIndexMap_as_slice(const ICU4XReorderedIndexMap* self); + +size_t ICU4XReorderedIndexMap_len(const ICU4XReorderedIndexMap* self); + +size_t ICU4XReorderedIndexMap_get(const ICU4XReorderedIndexMap* self, size_t index); +void ICU4XReorderedIndexMap_destroy(ICU4XReorderedIndexMap* self); + +#ifdef __cplusplus +} // extern "C" +} // namespace capi +#endif +#endif |