Interface for low-level UTF-8 utility functions. More...
#include <limits.h>Go to the source code of this file.
Data Structures | |
| struct | utf8Iterator |
Macros | |
| #define | BSTR_PUBLIC |
| #define | isLegalUnicodeCodePoint(v) |
| #define | utf8IteratorNoMore(it) |
Functions | |
| BSTR_PUBLIC void | utf8IteratorInit (struct utf8Iterator *iter, unsigned char *data, int slen) |
| BSTR_PUBLIC void | utf8IteratorUninit (struct utf8Iterator *iter) |
| BSTR_PUBLIC cpUcs4 | utf8IteratorGetNextCodePoint (struct utf8Iterator *iter, cpUcs4 errCh) |
| BSTR_PUBLIC cpUcs4 | utf8IteratorGetCurrCodePoint (struct utf8Iterator *iter, cpUcs4 errCh) |
| BSTR_PUBLIC int | utf8ScanBackwardsForCodePoint (const unsigned char *msg, int len, int pos, cpUcs4 *out) |
Interface for low-level UTF-8 utility functions.
This module is standalone and does not depend on bstrlib.
| #define BSTR_PUBLIC |
| #define isLegalUnicodeCodePoint | ( | v | ) |
| #define utf8IteratorNoMore | ( | it | ) |
| BSTR_PUBLIC cpUcs4 utf8IteratorGetCurrCodePoint | ( | struct utf8Iterator * | iter, |
| cpUcs4 | errCh ) |
| BSTR_PUBLIC cpUcs4 utf8IteratorGetNextCodePoint | ( | struct utf8Iterator * | iter, |
| cpUcs4 | errCh ) |
| BSTR_PUBLIC void utf8IteratorInit | ( | struct utf8Iterator * | iter, |
| unsigned char * | data, | ||
| int | slen ) |
| BSTR_PUBLIC void utf8IteratorUninit | ( | struct utf8Iterator * | iter | ) |
| BSTR_PUBLIC int utf8ScanBackwardsForCodePoint | ( | const unsigned char * | msg, |
| int | len, | ||
| int | pos, | ||
| cpUcs4 * | out ) |