src/stdlib/table.c
/*=================================================
 * next_table_int -- Advance to next int in table
 * skips over any other types of table elements
 * returns FALSE if runs out of table elements
 *===============================================*/
- Advance to next int in table
skips over any other types of table elements
returns FALSE if runs out of table elements
- Advance to next int in table skips over any other types of table elements returns FALSE if runs out of table elements
BOOLEAN
next_table_int (TABLE_ITER tabit, CNSTRING *pkey, INT * pival)
{
	VPTR val=0;
	if (tabit->rbit) {
		if (!RbNext(tabit->rbit, (RBKEY *)pkey, &val))
			return FALSE;
	} else {
		if (!next_hashtab(tabit->hashtab_iter, pkey, &val))
			return FALSE;
	}
	*pival = *(INT *)val;
	return TRUE;
}
BOOLEAN next_table_int ( TABLE_ITER tabit , CNSTRING * pkey , INT * pival ) { VPTR val = 0 ; if ( tabit -> rbit ) { if ( ! RbNext ( tabit -> rbit , ( RBKEY * ) pkey , & val ) ) return FALSE ; } else { if ( ! next_hashtab ( tabit -> hashtab_iter , pkey , & val ) ) return FALSE ; } * pival = * ( INT * ) val ; return TRUE ; }
next_table_int -- Advance to next int in table
 skips over any other types of table elements
 returns FALSE if runs out of table elements
next_table_int -- Advance to next int in table skips over any other types of table elements returns FALSE if runs out of table elements