From a38b924c5d9c70f0edab642554f0077372a51fa5 Mon Sep 17 00:00:00 2001 From: Al Date: Tue, 21 Jul 2015 17:26:59 -0400 Subject: [PATCH] [fix] add_token_alternatives --- src/normalize.c | 2 +- src/normalize.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/normalize.c b/src/normalize.c index cd2aa0b6..4d6b5a68 100644 --- a/src/normalize.c +++ b/src/normalize.c @@ -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; diff --git a/src/normalize.h b/src/normalize.h index f98849f8..ef229b2b 100644 --- a/src/normalize.h +++ b/src/normalize.h @@ -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);