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

Go to the source code of this file.

Functions

void rbt_delete_node (t_rbt *rbt, t_rbt_node *node)
 
void rbt_delete_recur (t_rbt *rbt, t_rbt_node *node)
 
void rbt_delete (t_rbt *rbt)
 Deletes this tree and free all its items and the associated data. More...
 

Function Documentation

◆ rbt_delete()

void rbt_delete ( t_rbt rbt)

Deletes this tree and free all its items and the associated data.

Does nothing if the argument is NULL.

Definition at line 34 of file rbt_delete.c.