Skip to content
Myr

jv_unicode.h

This file

Path

src/jv_unicode.h

14 lines · 447 bytes · C

Last changed by

Not known.

History of this file

Take it

1#ifndef JV_UNICODE_H2#define JV_UNICODE_H34const char* jvp_utf8_backtrack(const char* start, const char* min, int *missing_bytes);5const char* jvp_utf8_next(const char* in, const char* end, int* codepoint);6int jvp_utf8_is_valid(const char* in, const char* end);78int jvp_utf8_decode_length(char startchar);910int jvp_utf8_encode_length(int codepoint);11int jvp_utf8_encode(int codepoint, char* out);1213int jvp_codepoint_is_whitespace(int c);14#endif