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

Go to the source code of this file.

Functions

int rbt_contains (const t_rbt *rbt, const void *key)
 Does the tree contain the specified key? More...
 

Function Documentation

◆ rbt_contains()

int rbt_contains ( const t_rbt rbt,
const void *  key 
)

Does the tree contain the specified key?

Parameters
keyThe key
Returns
1 if tree contains the specified key, 0 otherwise

Definition at line 16 of file rbt_contains.c.