[fix] add_token_alternatives

This commit is contained in:
Al
2015-07-21 17:26:59 -04:00
parent 71be52275d
commit a38b924c5d
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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);