summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/include/ICU4XReorderedIndexMap.h
blob: f5507a72178ff4b26bd8c06ddb38a94e2e97d23e (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
#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