]> mj.ucw.cz Git - libucw.git/commitdiff
Docs: Checked for problems with common var-len-arrays and alloca() (written by Tom).
authorPavel Charvat <pchar@ucw.cz>
Tue, 14 Jan 2014 19:48:31 +0000 (20:48 +0100)
committerPavel Charvat <pchar@ucw.cz>
Tue, 14 Jan 2014 19:48:31 +0000 (20:48 +0100)
ucw/trie.h

index 3e577750f304986b030625817652f3136576828b..4aae65fa380ba09888aee2b81c52a3d7fa31e3df 100644 (file)
  *         TRIE_WANT_FIND_BUF          node *find_buf(byte *ptr, uns len)
  *         TRIE_WANT_ADD               add(*node)
  *         TRIE_WANT_REPLACE           node *replace(*node)
- *         TRIE_WANT_DELETE            delete(char *str)
- *         TRIE_WANT_DELETE_BUF        delete_buf(byte *ptr, uns len)
- *         TRIE_WANT_REMOVE            remove(*node)
+ *         TRIE_WANT_DELETE            delete(char *str)
+ *         TRIE_WANT_DELETE_BUF        delete_buf(byte *ptr, uns len)
+ *         TRIE_WANT_REMOVE            remove(*node)
  *
  *         TRIE_WANT_AUDIT             audit()
  *         TRIE_WANT_STATS
+ *
+ *     Be warned that the implementation is not var-len-arrays friendly and all hell may me unleashed
+ *     if you use these routines in the same function together with var-len-arrays.
  */
 
 /*** Define once ***/