#include "rbt.h"
#include "rbt_utils.h"
Go to the source code of this file.
|
void | rbt_put (t_rbt *rbt, const void *key, const void *val) |
| Adds a new item to the tree or overwrites an existing one. More...
|
|
◆ rbt_put()
void rbt_put |
( |
t_rbt * |
rbt, |
|
|
const void * |
key, |
|
|
const void * |
val |
|
) |
| |
Adds a new item to the tree or overwrites an existing one.
- Parameters
-
key | The key to be copied |
val | The value to be copied |
Definition at line 45 of file rbt_put.c.