src/stdlib/table.c
STRING
valueof_str (TABLE tab, CNSTRING key)
{
	ASSERT(tab);
	ASSERT(tab->vtable == &vtable_for_table);
	ASSERT(tab->valtype == TB_STR);

	if (tab->rbtree) {
		return (STRING)get_rb_value(tab->rbtree, key);
	} else {
		return (STRING)find_hashtab(tab->hashtab, key, NULL);
	}


}
/*===============================
 * valueof_str -- Find string value of entry
 *=============================*/
- Find string value of entry
- Find string value of entry
STRING
valueof_str (TABLE tab, CNSTRING key)
{
	ASSERT(tab);
	ASSERT(tab->vtable == &vtable_for_table);
	ASSERT(tab->valtype == TB_STR);
	if (tab->rbtree) {
		return (STRING)get_rb_value(tab->rbtree, key);
	} else {
		return (STRING)find_hashtab(tab->hashtab, key, NULL);
	}
}
STRING valueof_str ( TABLE tab , CNSTRING key ) { ASSERT ( tab ) ; ASSERT ( tab -> vtable == & vtable_for_table ) ; ASSERT ( tab -> valtype == TB_STR ) ; if ( tab -> rbtree ) { return ( STRING ) get_rb_value ( tab -> rbtree , key ) ; } else { return ( STRING ) find_hashtab ( tab -> hashtab , key , NULL ) ; } }
valueof_str -- Find string value of entry
valueof_str -- Find string value of entry