[fix] add_token_alternatives
This commit is contained in:
@@ -144,7 +144,7 @@ string_tree_t *normalize_string(char *str, uint64_t options) {
|
||||
}
|
||||
|
||||
|
||||
void add_normalized_token(string_tree_t *tree, char *str, token_t token, uint64_t options) {
|
||||
void add_token_alternatives(string_tree_t *tree, char *str, token_t token, uint64_t options) {
|
||||
size_t idx = 0;
|
||||
|
||||
uint8_t *ptr = (uint8_t *)str + token.offset;
|
||||
|
||||
@@ -39,7 +39,7 @@ char *normalize_string_utf8(char *str, uint64_t options);
|
||||
char *normalize_string_latin(char *str, size_t len, uint64_t options);
|
||||
|
||||
// Takes NORMALIZE_TOKEN_* options
|
||||
bool add_token_alternatives(cstring_array *array, char *str, token_t token, uint64_t options);
|
||||
void add_token_alternatives(string_tree_t *tree, char *str, token_t token, uint64_t options);
|
||||
|
||||
// Takes NORMALIZE_STRING_* options
|
||||
string_tree_t *normalize_string(char *str, uint64_t options);
|
||||
|
||||
Reference in New Issue
Block a user