Closed LeonorMalaga closed 3 months ago
void dll_add_last(t_dlist *list, t_dlist elem) { t_dlist *last;
if (dll_empty(*list)) *list = elem; else { last = dll_last(*list); last->next = elem; elem->prev = last; }
}
void dll_add_last(t_dlist *list, t_dlist elem) { t_dlist *last;
}