cdcontainers  0.1.1
Library of data containers and collections for C programming language.
Functions

Functions

static size_t cdc_splay_tree_size (struct cdc_splay_tree *t)
 Returns the number of items in the splay_tree. More...
 
static bool cdc_splay_tree_empty (struct cdc_splay_tree *t)
 Checks if the splay tree has no elements. More...
 

Detailed Description

Function Documentation

◆ cdc_splay_tree_size()

static size_t cdc_splay_tree_size ( struct cdc_splay_tree t)
inlinestatic

Returns the number of items in the splay_tree.

Parameters
[in]t- cdc_splay_tree
Returns
the number of items in the splay_tree.

◆ cdc_splay_tree_empty()

static bool cdc_splay_tree_empty ( struct cdc_splay_tree t)
inlinestatic

Checks if the splay tree has no elements.

Parameters
[in]t- cdc_splay_tree
Returns
true if the splay tree is empty, false otherwise.