From 60786d8b27e9c622c43ddc8e77575c0853728014 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 19 Mar 2021 13:08:05 +0100 Subject: Added clear() to cpque, cstack, cqueue, cbits, even though not in STL. Code/docs formatting. --- docs/csmap_api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/csmap_api.md') diff --git a/docs/csmap_api.md b/docs/csmap_api.md index d6eb0ddc..bd877ca1 100644 --- a/docs/csmap_api.md +++ b/docs/csmap_api.md @@ -47,6 +47,7 @@ All csmap definitions and prototypes are available by including a single header ```c csmap_X csmap_X_init(void); csmap_X csmap_X_clone(csmap_x map); + void csmap_X_clear(csmap_X* self); void csmap_X_swap(csmap_X* a, csmap_X* b); void csmap_X_del(csmap_X* self); // destructor @@ -172,7 +173,7 @@ Output: ``` ### Example 3 -Demonstrate csmap with plain-old-data key type Vec3i and int as mapped type: csmap. +Demonstrate csmap with plain-old-data key type Vec3i and int as mapped type: csmap. ```c #include "stc/csmap.h" #include -- cgit v1.2.3