something about neo_hash

"[email protected]" <[email protected]> Wed, 03 Jun 2009 01:47:06 -0000
Newsgroups gmane.text.clearsilver.general
Message-ID <[email protected]>
Hi,

This is something confused me in neo_hash mode:

1, dose neo_hash.c line 146 should change to 

node = _hash_lookup_node(hash, *key, NULL);


2, and before we judge if (*node) in line 163, should we judge if (node) first ? Because the *key parameter can be null, and so node is null.


3, it seems that 

#define hash_insert ne_hash_insert

is missing in ClearSilver.h