src/stdlib/table.c
/*===============================
 * valueof_obj -- Find object value of entry
 *=============================*/
- Find object value of entry
- Find object value of entry
VPTR
valueof_obj (TABLE tab, CNSTRING key)
{
	ASSERT(tab);
	ASSERT(tab->vtable == &vtable_for_table);
	ASSERT(tab->valtype == TB_OBJ);
	if (tab->rbtree) {
		return get_rb_value(tab->rbtree, key);
	} else {
		return find_hashtab(tab->hashtab, key, NULL);
	}
}
VPTR valueof_obj ( TABLE tab , CNSTRING key ) { ASSERT ( tab ) ; ASSERT ( tab -> vtable == & vtable_for_table ) ; ASSERT ( tab -> valtype == TB_OBJ ) ; if ( tab -> rbtree ) { return get_rb_value ( tab -> rbtree , key ) ; } else { return find_hashtab ( tab -> hashtab , key , NULL ) ; } }
valueof_obj -- Find object value of entry
valueof_obj -- Find object value of entry