|
libwsx libwsx
WSwan extra library for the Wonderful toolchain
|
#include <stdbool.h>#include <stdint.h>#include <wonderful.h>Go to the source code of this file.
Functions | |
| char * | wsx_utf8_encode_next (char *s, uint32_t chr) |
| Encode the next character in an UTF-8 string. | |
| uint32_t | wsx_utf8_decode_next (const char __far **s) |
| Decode the next character in an UTF-8 string. | |
| int | wsx_utf8_len (const char __far *s) |
| Measure the length of an UTF-8 string, in characters. | |
| uint32_t wsx_utf8_decode_next | ( | const char __far ** | s | ) |
Decode the next character in an UTF-8 string.
| s | Pointer to far pointer to character. Will be modified to point to the next character. |
| char * wsx_utf8_encode_next | ( | char * | s, |
| uint32_t | chr ) |
Encode the next character in an UTF-8 string.
| s | Pointer to encode character to. |
| chr | Character to encode. |
| int wsx_utf8_len | ( | const char __far * | s | ) |
Measure the length of an UTF-8 string, in characters.
| s | Pointer to UTF-8 string. |