data_structures
src
data_structures
min_pq
min_pq_copy.c
Go to the documentation of this file.
1
/* ************************************************************************** */
3
/* */
4
/* ::: :::::::: */
5
/* min_pq_copy.c :+: :+: :+: */
6
/* +:+ +:+ +:+ */
7
/* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8
/* +#+#+#+#+#+ +#+ */
9
/* Created: 2020/07/22 10:12:57 by unite #+# #+# */
10
/* Updated: 2020/07/22 10:13:41 by unite ### ########.fr */
11
/* */
12
/* ************************************************************************** */
13
14
#include "
min_pq.h
"
15
16
t_min_pq
*
min_pq_copy
(
const
t_min_pq
*pq)
17
{
18
return
(
array_copy
(pq));
19
}
min_pq_copy
t_min_pq * min_pq_copy(const t_min_pq *pq)
Copies the queue and all it contents.
Definition:
min_pq_copy.c:16
array_copy
t_array * array_copy(const t_array *array)
Copies the array and all it contents.
Definition:
array_copy.c:16
min_pq.h
s_array
A resizable array.
Definition:
array.h:47
Generated by
1.8.16