summaryrefslogtreecommitdiff
path: root/vendor/nunicode/include/libnu/casemap_internal.h
blob: b97f37c6bf22be407e74c5deb29f78aa429179c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef NU_CASEMAP_INTERNAL_H
#define NU_CASEMAP_INTERNAL_H

#include <stdint.h>
#include <sys/types.h>

#include <libnu/udb.h>

/** Casemap codepoint
 *
 * @ingroup transformations_internal
 */
static inline
const char* _nu_to_something(uint32_t codepoint,
	const int16_t *G, size_t G_SIZE,
	const uint32_t *VALUES_C, const uint16_t *VALUES_I, const uint8_t *COMBINED) {

	return nu_udb_lookup(codepoint, G, G_SIZE, VALUES_C, VALUES_I, COMBINED);
}

#endif /* NU_CASEMAP_INTERNAL_H */