src/stdlib/table.c
/*=================================================
 * begin_table_iter -- Begin iteration of table
 *  returns addref'd iterator object
 *===============================================*/
- Begin iteration of table
returns addref'd iterator object
- Begin iteration of table returns addref ' d iterator object
TABLE_ITER
begin_table_iter (TABLE tab)
{
	TABLE_ITER tabit = (TABLE_ITER)stdalloc(sizeof(*tabit));
	++tabit->refcnt;
	if (tab->rbtree) {
		tabit->rbit = RbBeginIter(tab->rbtree, 0, 0);
	} else {
		tabit->hashtab_iter = begin_hashtab(tab->hashtab);
	}
	return tabit;
}
TABLE_ITER begin_table_iter ( TABLE tab ) { TABLE_ITER tabit = ( TABLE_ITER ) stdalloc ( sizeof ( * tabit ) ) ; ++ tabit -> refcnt ; if ( tab -> rbtree ) { tabit -> rbit = RbBeginIter ( tab -> rbtree , 0 , 0 ) ; } else { tabit -> hashtab_iter = begin_hashtab ( tab -> hashtab ) ; } return tabit ; }
begin_table_iter -- Begin iteration of table
  returns addref'd iterator object
begin_table_iter -- Begin iteration of table returns addref ' d iterator object