[mv] Moving trie_new_from_hash to a module

This commit is contained in:
Al
2016-01-05 16:43:17 -05:00
parent 33e9a05ebf
commit 22668945cb
5 changed files with 111 additions and 47 deletions

12
src/trie_utils.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef TRIE_UTILS_H
#define TRIE_UTILS_H
#include "collections.h"
#include "string_utils.h"
#include "trie.h"
trie_t *trie_new_from_hash(khash_t(str_uint32) *hash);
trie_t *trie_new_from_cstring_array_sorted(cstring_array *strings);
trie_t *trie_new_from_cstring_array(cstring_array *strings);
#endif