data_structures
Functions
hashmap_contains.c File Reference
#include "hashmap.h"
+ Include dependency graph for hashmap_contains.c:

Go to the source code of this file.

Functions

int hashmap_contains (const t_hashmap *hm, const void *key)
 Is the specified key contained in the map? More...
 

Function Documentation

◆ hashmap_contains()

int hashmap_contains ( const t_hashmap hm,
const void *  key 
)

Is the specified key contained in the map?

Parameters
keyThe key
Returns
1 if the key is in the map, 0 otherwise

Definition at line 16 of file hashmap_contains.c.