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

Go to the source code of this file.

Functions

void bst_delete_node (t_bst *bst, t_bst_node *node)
 
void bst_delete_recur (t_bst *bst, t_bst_node *node)
 
void bst_delete (t_bst *bst)
 Deletes this tree and free all its items and the associated data. More...
 

Function Documentation

◆ bst_delete()

void bst_delete ( t_bst bst)

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 bst_delete.c.