Exemplo n.º 1
0
void destroy_symbol_list (symbol *sym)
{
	symbol *current;
	symbol *next;

	current = sym;

	while (current)
	{
		next = current->next;
		destroy_symbol (current);
		current = next;
	}
}
Exemplo n.º 2
0
static void		sym_del(void **sym)
{
	destroy_symbol((t_symbol**)sym);
}