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

Go to the source code of this file.

Functions

void * hashmap_get (const t_hashmap *hm, const void *key)
 Fetches the value associated with the given key. More...
 

Function Documentation

◆ hashmap_get()

void* hashmap_get ( const t_hashmap hm,
const void *  key 
)

Fetches the value associated with the given key.

Parameters
keyThe key
Returns
The value, or NULL if the key is not in the map.

Definition at line 17 of file hashmap_get.c.