Let the iter point to the first object.

This commit is contained in:
Jonathan Schleifer 2012-04-22 15:15:43 +02:00
parent adbd417825
commit 27053629d0
2 changed files with 2 additions and 3 deletions

View file

@ -358,10 +358,10 @@ cfw_map_set(CFWMap *map, void *key, void *obj)
void
cfw_map_iter(CFWMap *map, cfw_map_iter_t *iter)
{
iter->key = NULL;
iter->obj = NULL;
iter->_map = map;
iter->_pos = 0;
cfw_map_iter_next(iter);
}
void