summaryrefslogtreecommitdiffhomepage
path: root/docs/carc_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-03-16 21:41:40 +0100
committerTyge Løvset <[email protected]>2022-03-16 21:41:40 +0100
commit0468971b404cee5582d360d7d1c66bb4148e1614 (patch)
tree9161ccbea490a5dab70e641f7bd568521a5da636 /docs/carc_api.md
parent342484f70998258022c26e6af2926ecc7635bbdd (diff)
downloadSTC-modified-0468971b404cee5582d360d7d1c66bb4148e1614.tar.gz
STC-modified-0468971b404cee5582d360d7d1c66bb4148e1614.zip
Bugfix: carc and cbox cmp functions had bug.
Renamed: i_key_sptr / i_val_sptr to i_key_arcbox / i_val_arcbox. Other smaller updates.
Diffstat (limited to 'docs/carc_api.md')
-rw-r--r--docs/carc_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/carc_api.md b/docs/carc_api.md
index a83bc194..c137094d 100644
--- a/docs/carc_api.md
+++ b/docs/carc_api.md
@@ -88,11 +88,11 @@ bool carc_X_value_eq(const i_val* x, const i_val* y); // cbox_X_value_c
#include <stc/carc.h>
#define i_type Stack
-#define i_val_sptr Arc // define i_val_sptr for carc/cbox value, not i_val or i_val_bind
+#define i_val_arcbox Arc // note: define i_val_arcbox for carc/cbox value
#include <stc/cstack.h>
#define i_type List
-#define i_val_sptr Arc // as above
+#define i_val_arcbox Arc // as above
#include <stc/clist.h>
int main()