Implement htable_free_obj() function
commit4918d585263e4219375023c9ec4a01d84bee5604
authorStathis Kamperis <ekamperi@auth.gr>
Mon, 10 Sep 2007 18:00:21 +0000 (10 21:00 +0300)
committerStathis Kamperis <ekamperi@auth.gr>
Mon, 10 Sep 2007 18:00:21 +0000 (10 21:00 +0300)
treed1f7731e198bd9b06bcf4c98243da73d06f5e9e9
parentbebcf1f40fc6a9f06cf913185b68b258c7a3f1ac
Implement htable_free_obj() function
Currently we have the following functions:

* htable_free()
It frees the htable but NOT hn_key or hn_data of its nodes

* htable_free_all_obj()
It frees hn_key and hn_data for all of its nodes but NOT the htable itself

* htable_free_obj()
It frees the node itself AND hn_key and hn_data AND removes it from the htable

* htable_remove()
It only removes the node from the htable but doesn't touch hn_key or hn_ndata
genstructs/htable/htable.c
genstructs/htable/htable.h