[fix] new script name, prefix result
This commit is contained in:
@@ -82,7 +82,7 @@ char *script_transliterators[] = {
|
|||||||
"thai-latin",
|
"thai-latin",
|
||||||
"greek-latin",
|
"greek-latin",
|
||||||
"greek-latin-bgn",
|
"greek-latin-bgn",
|
||||||
"greek_latin_ungegn",
|
"greek-latin-ungegn",
|
||||||
"canadianaboriginal-latin",
|
"canadianaboriginal-latin",
|
||||||
"persian-latin-bgn",
|
"persian-latin-bgn",
|
||||||
"arabic-latin",
|
"arabic-latin",
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ typedef struct trie_prefix_result {
|
|||||||
size_t tail_pos;
|
size_t tail_pos;
|
||||||
} trie_prefix_result_t;
|
} trie_prefix_result_t;
|
||||||
|
|
||||||
const trie_prefix_result_t NULL_PREFIX_RESULT = {NULL_NODE_ID, 0};
|
#define NULL_PREFIX_RESULT (trie_prefix_result_t) {NULL_NODE_ID, 0};
|
||||||
|
|
||||||
trie_prefix_result_t trie_get_prefix(trie_t *self, char *key);
|
trie_prefix_result_t trie_get_prefix(trie_t *self, char *key);
|
||||||
trie_prefix_result_t trie_get_prefix_len(trie_t *self, char *key, size_t len);
|
trie_prefix_result_t trie_get_prefix_len(trie_t *self, char *key, size_t len);
|
||||||
|
|||||||
Reference in New Issue
Block a user