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

Go to the source code of this file.

Functions

size_t rbt_size (const t_rbt *rbt)
 Returns the number of elements in this tree. More...
 

Function Documentation

◆ rbt_size()

size_t rbt_size ( const t_rbt rbt)

Returns the number of elements in this tree.

Returns
the number of elements in this tree.

Definition at line 17 of file rbt_size.c.