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

Functions

static size_t cdc_hash_table_size (struct cdc_hash_table *t)
 Returns the number of items in the hash_table. More...
 
static bool cdc_hash_table_empty (struct cdc_hash_table *t)
 Checks if the hash table has no elements. More...
 

Detailed Description

Function Documentation

◆ cdc_hash_table_size()

static size_t cdc_hash_table_size ( struct cdc_hash_table t)
inlinestatic

Returns the number of items in the hash_table.

Parameters
[in]t- cdc_hash_table
Returns
the number of items in the hash_table.

◆ cdc_hash_table_empty()

static bool cdc_hash_table_empty ( struct cdc_hash_table t)
inlinestatic

Checks if the hash table has no elements.

Parameters
[in]t- cdc_hash_table
Returns
true if the hash table is empty, false otherwise.