diff options
| author | Tyge Løvset <[email protected]> | 2022-10-20 18:55:01 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-10-20 18:55:01 +0200 |
| commit | b40ca18d43d31f997f64de6168ada58c7dfad9b9 (patch) | |
| tree | d9fc575becaa8ad3d401058adb011818842fb50e /docs/carc_api.md | |
| parent | 14f67d1936fa76be436eaaee739861268ca534f7 (diff) | |
| download | STC-modified-b40ca18d43d31f997f64de6168ada58c7dfad9b9.tar.gz STC-modified-b40ca18d43d31f997f64de6168ada58c7dfad9b9.zip | |
Fixed some inconsistencies, and a minor bug in cmap.
Diffstat (limited to 'docs/carc_api.md')
| -rw-r--r-- | docs/carc_api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/carc_api.md b/docs/carc_api.md index c8248b67..4dea2b2c 100644 --- a/docs/carc_api.md +++ b/docs/carc_api.md @@ -84,8 +84,8 @@ bool carc_X_value_eq(const i_val* x, const i_val* y); #include <stc/csmap.h> #define i_type Arc // (atomic) ref. counted pointer -#define i_val_class Map // Note i_val_class: Map is a "class", i.e. has clone, drop functions. -#define i_valdrop(p) (printf("drop Arc:\n"), Map_drop(p)) // override Map_drop(p): +#define i_val Map +#define i_valdrop(p) (printf("drop Arc:\n"), Map_drop(p)) #include <stc/carc.h> #define i_type Stack |
