2024-01-14 12:56:52 -06:00
|
|
|
#ifndef KIM_H
|
|
|
|
#define KIM_H
|
|
|
|
|
2024-01-31 02:42:15 -06:00
|
|
|
int utf8_bytes(char *s);
|
|
|
|
int utf8_count(char *s);
|
|
|
|
int decode_utf8(char **s);
|
|
|
|
void encode_utf8(char **s, int code);
|
|
|
|
void encode_kim(char **s, int code);
|
|
|
|
int decode_kim(char **s);
|
|
|
|
void utf8_to_kim(char **utf, char **kim);
|
|
|
|
void kim_to_utf8(char **kim, char **utf, int runes);
|
2024-01-14 12:56:52 -06:00
|
|
|
|
|
|
|
#endif
|