src/stdlib/table.c
/*======================================
 * insert_table_int -- Insert key & INT value into table
 *====================================*/
- Insert key & INT value into table
- Insert key & INT value into table
void
insert_table_int (TABLE tab, CNSTRING key, INT ival)
{
	INT * newval = stdalloc(sizeof(*newval));
	*newval = ival;
	ASSERT(tab);
	ASSERT(tab->valtype == TB_INT);
	insert_table_ptr(tab, key, newval);
}
void insert_table_int ( TABLE tab , CNSTRING key , INT ival ) { INT * newval = stdalloc ( sizeof ( * newval ) ) ; * newval = ival ; ASSERT ( tab ) ; ASSERT ( tab -> valtype == TB_INT ) ; insert_table_ptr ( tab , key , newval ) ; }
insert_table_int -- Insert key & INT value into table
insert_table_int -- Insert key & INT value into table