update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@17 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
5175361bcc
commit
93f95458f5
|
@ -38,14 +38,6 @@ hashtable_iterator(struct hashtable *h)
|
|||
/* key - return the key of the (key,value) pair at the current position */
|
||||
/* value - return the value of the (key,value) pair at the current position */
|
||||
|
||||
void *
|
||||
hashtable_iterator_key(struct hashtable_itr *i)
|
||||
{ return i->e->k; }
|
||||
|
||||
void *
|
||||
hashtable_iterator_value(struct hashtable_itr *i)
|
||||
{ return i->e->v; }
|
||||
|
||||
/*****************************************************************************/
|
||||
/* advance - advance the iterator to the next element
|
||||
* returns zero if advanced to end of table */
|
||||
|
|
Loading…
Reference in New Issue