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

Functions

static size_t cdc_list_size (struct cdc_list *l)
 Returns the number of elements in the list. More...
 
static bool cdc_list_empty (struct cdc_list *l)
 Checks if the list has no elements. More...
 

Detailed Description

Function Documentation

◆ cdc_list_size()

static size_t cdc_list_size ( struct cdc_list l)
inlinestatic

Returns the number of elements in the list.

Parameters
[in]l- cdc_list
Returns
the number of elements in the list.

◆ cdc_list_empty()

static bool cdc_list_empty ( struct cdc_list l)
inlinestatic

Checks if the list has no elements.

Parameters
[in]l- cdc_list
Returns
true if the list is empty, false otherwise.