C Collections

cbstmap · Section 3

cbmap_reset

cbmap_reset - clear all entries from a BST map (type-inferred wrapper)

C Collections (libccollections, -lccollections)

#include <ccollections/cbstmap.h>
 
cbmap_reset(cbm);

Type-inferred wrapper for cbstmap_reset(). It takes the same arguments
and gives the same result; cbstmap_reset(3) has the full contract.

cbm    BST map to reset

ccol_success on success, as cbstmap_reset(3) gives it.

cbstmap_reset(3)