data_structures
src
data_structures
queue
queue_delete.c
Go to the documentation of this file.
1
/* ************************************************************************** */
3
/* */
4
/* ::: :::::::: */
5
/* queue_delete.c :+: :+: :+: */
6
/* +:+ +:+ +:+ */
7
/* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8
/* +#+#+#+#+#+ +#+ */
9
/* Created: 2020/07/17 01:32:28 by unite #+# #+# */
10
/* Updated: 2020/07/17 01:32:53 by unite ### ########.fr */
11
/* */
12
/* ************************************************************************** */
13
14
#include "
queue.h
"
15
16
void
queue_delete
(
t_queue
*queue)
17
{
18
list_delete
(queue);
19
}
list_delete
void list_delete(t_list *alst)
Deletes the list and frees all memory taken by its contents.
Definition:
list_delete.c:16
queue_delete
void queue_delete(t_queue *queue)
Deletes the queue and frees all memory taken by its contents, or does nothing if the argument is NULL...
Definition:
queue_delete.c:16
s_list
Doubly-linked list of generic items.
Definition:
list.h:54
queue.h
Generated by
1.8.16