[phrases] Adding trie_get_data/trie_set_data + at_index methods
This commit is contained in:
@@ -88,7 +88,9 @@ trie_node_t trie_get_free_list(trie_t *self);
|
||||
trie_data_node_t trie_get_data_node(trie_t *self, trie_node_t node);
|
||||
bool trie_set_data_node(trie_t *self, uint32_t index, trie_data_node_t data_node);
|
||||
|
||||
bool trie_get_data_at_index(trie_t *self, uint32_t index, uint32_t *data);
|
||||
bool trie_get_data(trie_t *self, char *key, uint32_t *data);
|
||||
bool trie_set_data_at_index(trie_t *self, uint32_t index, uint32_t data);
|
||||
bool trie_set_data(trie_t *self, char *key, uint32_t data);
|
||||
|
||||
bool trie_tail_match(trie_t *self, char *str, uint32_t tail_index);
|
||||
|
||||
Reference in New Issue
Block a user