예제 #1
0
void destroy_symbol_list (symbol *sym)
{
	symbol *current;
	symbol *next;

	current = sym;

	while (current)
	{
		next = current->next;
		destroy_symbol (current);
		current = next;
	}
}
예제 #2
0
static void		sym_del(void **sym)
{
	destroy_symbol((t_symbol**)sym);
}