diff options
author | pommicket <pommicket@gmail.com> | 2022-12-13 10:13:02 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-13 10:13:02 -0500 |
commit | fd40216803159858d03289e4c9bf37ec1f8332e7 (patch) | |
tree | f7c83eef772a91cc8e2d784c61ea818fee0b7968 /unicode.h | |
parent | 17e12d6cd6dc769d714991da97db153e7225180e (diff) |
more future feature ideas
Diffstat (limited to 'unicode.h')
-rw-r--r-- | unicode.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ static bool unicode_is_start_of_code_point(u8 byte) { // *c will be filled with the next UTF-8 code point in `str`. `bytes` refers to the maximum // number of bytes that can be read from `str`. // Returns: -// 0 - if a NULL character was encountered +// 0 - if a null character was encountered // (size_t)-1 - on invalid UTF-8 // (size_t)-2 - on incomplete code point (str should be longer) // other - the number of bytes read from `str`. |