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

Functions

static size_t cdc_map_size (struct cdc_map *m)
 Returns the number of items in the map. More...
 
static bool cdc_map_empty (struct cdc_map *m)
 Checks if the map has no elements. More...
 

Detailed Description

Function Documentation

◆ cdc_map_size()

static size_t cdc_map_size ( struct cdc_map m)
inlinestatic

Returns the number of items in the map.

Parameters
[in]m- cdc_map
Returns
the number of items in the map.

◆ cdc_map_empty()

static bool cdc_map_empty ( struct cdc_map m)
inlinestatic

Checks if the map has no elements.

Parameters
[in]m- cdc_map
Returns
true if the map is empty, false otherwise.