diff options
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 |