diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-02 19:43:40 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-02 19:44:08 +0100 |
commit | 98cf44a23e4216c7e2ba156a67eabdf21a224c91 (patch) | |
tree | 7f1b437399f6103bba2133cb79633cf87c800309 /trie.inc | |
parent | Add -Wextra flag, fix resulting warnings. (diff) | |
download | calp-98cf44a23e4216c7e2ba156a67eabdf21a224c91.tar.gz calp-98cf44a23e4216c7e2ba156a67eabdf21a224c91.tar.xz |
Broke read_vcalendar of into own file.
Diffstat (limited to '')
-rw-r--r-- | trie.inc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -75,6 +75,9 @@ int TRIE_PUT(TYPE) ( TRIE(TYPE)* trie, char* key, TYPE* val ) { return 0; } +/* + * TODO what happens when I give an invalid key? + */ TYPE* TRIE_GET(TYPE) ( TRIE(TYPE)* trie, char* key ) { TRIE_NODE(TYPE)* n = trie->root->child; char* subkey = key; |