data_structures
src
data_structures
queue
queue_copy.c
Go to the documentation of this file.
1
/* ************************************************************************** */
3
/* */
4
/* ::: :::::::: */
5
/* queue_copy.c :+: :+: :+: */
6
/* +:+ +:+ +:+ */
7
/* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8
/* +#+#+#+#+#+ +#+ */
9
/* Created: 2020/07/22 10:10:54 by unite #+# #+# */
10
/* Updated: 2020/07/22 10:11:27 by unite ### ########.fr */
11
/* */
12
/* ************************************************************************** */
13
14
#include "
queue.h
"
15
16
t_queue
*
queue_copy
(
const
t_queue
*queue)
17
{
18
return
(
list_copy
(queue));
19
}
list_copy
t_list * list_copy(const t_list *alst)
Copies an list and all it contents.
Definition:
list_copy.c:16
queue_copy
t_queue * queue_copy(const t_queue *queue)
Copies a queue and all it contents.
Definition:
queue_copy.c:16
s_list
Doubly-linked list of generic items.
Definition:
list.h:54
queue.h
Generated by
1.8.16