1 #ifndef NU_CASEMAP_INTERNAL_H
2 #define NU_CASEMAP_INTERNAL_H
3
4 #include <stdint.h>
5 #include <sys/types.h>
6
7 #include <libnu/udb.h>
8
9 /** Casemap codepoint
10 *
11 * @ingroup transformations_internal
12 */
13 static inline
_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)14 const char* _nu_to_something(uint32_t codepoint,
15 const int16_t *G, size_t G_SIZE,
16 const uint32_t *VALUES_C, const uint16_t *VALUES_I, const uint8_t *COMBINED) {
17
18 return nu_udb_lookup(codepoint, G, G_SIZE, VALUES_C, VALUES_I, COMBINED);
19 }
20
21 #endif /* NU_CASEMAP_INTERNAL_H */
22