Represents a cure suggestion by decancer.
More...
|
| size_t | old_index |
| | The character's UTF-8 index in the original input string.
|
| size_t | new_index |
| | The translation's UTF-8 index in the suggested cured string or DECANCER_SUGGESTION_REMOVED_INDEX if it's removed.
|
| decancer_translation_t | translation |
| | The suggested translation.
|
Represents a cure suggestion by decancer.
typedef struct {
Represents a cure suggestion by decancer.
Definition decancer.h:556
size_t new_index
The translation's UTF-8 index in the suggested cured string or DECANCER_SUGGESTION_REMOVED_INDEX if i...
Definition decancer.h:567
size_t old_index
The character's UTF-8 index in the original input string.
Definition decancer.h:561
decancer_translation_t translation
The suggested translation.
Definition decancer.h:573
Represents a translation of a unicode codepoint.
Definition decancer.h:471
- See also
- decancer_get_suggestion_length
-
decancer_get_suggestion
-
DECANCER_SUGGESTION_REMOVED_INDEX
- Since
- 4.1.0
◆ new_index
| size_t decancer_suggestion_t::new_index |
The translation's UTF-8 index in the suggested cured string or DECANCER_SUGGESTION_REMOVED_INDEX if it's removed.
- Since
- 4.1.0
◆ old_index
| size_t decancer_suggestion_t::old_index |
The character's UTF-8 index in the original input string.
- Since
- 4.1.0
◆ translation
The suggested translation.
- Since
- 4.1.0
The documentation for this struct was generated from the following file:
- /home/runner/work/decancer/decancer/bindings/native/decancer.h