data_structures
max_pq_copy.c
Go to the documentation of this file.
1 /* ************************************************************************** */
3 /* */
4 /* ::: :::::::: */
5 /* max_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:14:09 by unite ### ########.fr */
11 /* */
12 /* ************************************************************************** */
13 
14 #include "max_pq.h"
15 
17 {
18  return (array_copy(pq));
19 }
max_pq.h
array_copy
t_array * array_copy(const t_array *array)
Copies the array and all it contents.
Definition: array_copy.c:16
s_array
A resizable array.
Definition: array.h:47
max_pq_copy
t_max_pq * max_pq_copy(const t_max_pq *pq)
Copies the queue and all it contents.
Definition: max_pq_copy.c:16