data_structures
src
data_structures
hashmap
hashmap_size.c
Go to the documentation of this file.
1
/* ************************************************************************** */
3
/* */
4
/* ::: :::::::: */
5
/* hashmap_size.c :+: :+: :+: */
6
/* +:+ +:+ +:+ */
7
/* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8
/* +#+#+#+#+#+ +#+ */
9
/* Created: 2020/07/21 19:02:50 by unite #+# #+# */
10
/* Updated: 2020/07/22 01:47:20 by unite ### ########.fr */
11
/* */
12
/* ************************************************************************** */
13
14
#include "
hashmap.h
"
15
16
size_t
hashmap_size
(
const
t_hashmap
*hm)
17
{
18
return
(hm->
size
);
19
}
s_hashmap::size
size_t size
The number of elements in the hashmap.
Definition:
hashmap.h:52
hashmap.h
s_hashmap
A symbol table of generic key-value pairs, implemented as a dynamically resizing linear-probing hashm...
Definition:
hashmap.h:48
hashmap_size
size_t hashmap_size(const t_hashmap *hm)
Returns the number of elements in this map.
Definition:
hashmap_size.c:16
Generated by
1.8.16