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

Go to the source code of this file.

Functions

void bst_put (t_bst *bst, const void *key, const void *val)
 Adds a new item to the tree or overwrites an existing one. More...
 

Function Documentation

◆ bst_put()

void bst_put ( t_bst bst,
const void *  key,
const void *  val 
)

Adds a new item to the tree or overwrites an existing one.

Parameters
keyThe key to be copied
valThe value to be copied

Definition at line 46 of file bst_put.c.