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

Go to the source code of this file.

Functions

void hashmap_put (t_hashmap *hm, const void *key, const void *val)
 Adds a key-value pair to the symbol table. More...
 

Function Documentation

◆ hashmap_put()

void hashmap_put ( t_hashmap hm,
const void *  key,
const void *  val 
)

Adds a key-value pair to the symbol table.

Parameters
keyThe key
valThe value

Definition at line 17 of file hashmap_put.c.