decancer 4.0.0
A library that removes common unicode confusables/homoglyphs from strings.
No such query exists :(
Functions
Type definitions
Macros
Loading...
Searching...
No Matches
decancer_translation_t::[struct].contents.string Struct Reference

The translation, as a UTF-8 encoded string. More...

Data Fields

const uint8_t * contents
 Raw UTF-8 encoded string.
size_t size
 UTF-8 size of the string, in bytes.
void * __heap
 A pointer to a heap memory block, unused.

Detailed Description

The translation, as a UTF-8 encoded string.

Since
1.5.4

Field Documentation

◆ __heap

A pointer to a heap memory block, unused.

Note
If this value is not NULL and kind is DECANCER_TRANSLATION_KIND_STRING, then you must pass this struct to decancer_translation_free later.
Since
3.1.0

◆ contents

Raw UTF-8 encoded string.

Since
1.5.4

◆ size

UTF-8 size of the string, in bytes.

Since
1.5.4

The documentation for this struct was generated from the following files: