10 lines
261 B
C
10 lines
261 B
C
#ifndef VELOMETER_UTF8_H
|
|
#define VELOMETER_UTF8_H
|
|
|
|
int decode_code_point(const char **s);
|
|
void encode_code_point(char **s, char *end, int code);
|
|
int split_into_surrogates(int code, int *surr1, int *surr2);
|
|
int join_from_surrogates(int *old, int *code);
|
|
|
|
#endif
|