Represents a translation of a unicode codepoint. More...
Data Fields | ||
uint8_t | kind | |
The type of the translation result. This can be any of the following values: | ||
union { | ||
uint32_t character | ||
The translation, as a unicode character. More... | ||
struct { | ||
const uint8_t * contents | ||
Raw UTF-8 encoded string. More... | ||
size_t size | ||
UTF-8 size of the string, in bytes. More... | ||
void * __heap | ||
A pointer to a heap memory block, unused. More... | ||
} string | ||
The translation, as a UTF-8 encoded string. More... | ||
} | contents | |
A union of translation results. This can either be a unicode character or a UTF-8 encoded string. | ||
Represents a translation of a unicode codepoint.
void* decancer_translation_t::__heap |
A pointer to a heap memory block, unused.
uint32_t decancer_translation_t::character |
The translation, as a unicode character.
const uint8_t* decancer_translation_t::contents |
Raw UTF-8 encoded string.
union { ... } decancer_translation_t::contents |
A union of translation results. This can either be a unicode character or a UTF-8 encoded string.
uint8_t decancer_translation_t::kind |
The type of the translation result. This can be any of the following values:
size_t decancer_translation_t::size |
UTF-8 size of the string, in bytes.
struct { ... } decancer_translation_t::string |
The translation, as a UTF-8 encoded string.