data_structures
src
data_structures
min_pq
min_pq_size.c
Go to the documentation of this file.
1
/* ************************************************************************** */
3
/* */
4
/* ::: :::::::: */
5
/* min_pq_size.c :+: :+: :+: */
6
/* +:+ +:+ +:+ */
7
/* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8
/* +#+#+#+#+#+ +#+ */
9
/* Created: 2020/07/17 01:52:02 by unite #+# #+# */
10
/* Updated: 2020/07/17 01:52:47 by unite ### ########.fr */
11
/* */
12
/* ************************************************************************** */
13
14
#include "
min_pq.h
"
15
16
size_t
min_pq_size
(
const
t_min_pq
*pq)
17
{
18
return
(
array_size
(pq));
19
}
array_size
size_t array_size(const t_array *array)
Returns the number of elements in this array.
Definition:
array_size.c:16
min_pq.h
s_array
A resizable array.
Definition:
array.h:47
min_pq_size
size_t min_pq_size(const t_min_pq *pq)
Returns the number of keys in this queue.
Definition:
min_pq_size.c:16
Generated by
1.8.16