summaryrefslogtreecommitdiffhomepage
path: root/docs/csmap_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/csmap_api.md')
-rw-r--r--docs/csmap_api.md3
1 files changed, 2 insertions, 1 deletions
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<Vec3i, int>.
+Demonstrate csmap with plain-old-data key type Vec3i and int as mapped type: csmap<Vec3i, int>.
```c
#include "stc/csmap.h"
#include <stdio.h>