summaryrefslogtreecommitdiffhomepage
path: root/docs/carc_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-06-01 10:33:00 +0200
committerTyge Løvset <[email protected]>2022-06-01 10:33:00 +0200
commitd7a19420e0aec71a2a840f68a54549c8a951f929 (patch)
treed804c815661c4e5ae9c2a67eeed85cfe0b819b55 /docs/carc_api.md
parentc25b6d39f4ebbc1785108fd248b67fe9e8c95e92 (diff)
downloadSTC-modified-d7a19420e0aec71a2a840f68a54549c8a951f929.tar.gz
STC-modified-d7a19420e0aec71a2a840f68a54549c8a951f929.zip
Update docs regarding i_implement for cstr, cview, cbits, ...
Diffstat (limited to 'docs/carc_api.md')
-rw-r--r--docs/carc_api.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/carc_api.md b/docs/carc_api.md
index d0d90300..aef3d867 100644
--- a/docs/carc_api.md
+++ b/docs/carc_api.md
@@ -67,6 +67,9 @@ bool carc_X_value_eq(const i_val* x, const i_val* y); // carc_X_value_c
```c
// Create a stack and a list of shared pointers to maps,
// and demonstrate sharing and cloning of maps.
+#define i_implement
+#include <stc/cstr.h>
+
#define i_type Map
#define i_key_str // strings
#define i_val int