diff options
| author | Tyge Løvset <[email protected]> | 2022-04-28 17:19:53 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-04-28 17:19:53 +0200 |
| commit | 93ad88cf99299c0bf9c73c0854b511e8df8e0268 (patch) | |
| tree | 23a1ff8841b76e22f983ae8a516bee1b46433253 /docs | |
| parent | c68b5bac81319612e94b231af234bad6ef559c61 (diff) | |
| download | STC-modified-93ad88cf99299c0bf9c73c0854b511e8df8e0268.tar.gz STC-modified-93ad88cf99299c0bf9c73c0854b511e8df8e0268.zip | |
Update carc_api.md
Diffstat (limited to 'docs')
| -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 8eec043f..612c32d2 100644 --- a/docs/carc_api.md +++ b/docs/carc_api.md @@ -75,11 +75,11 @@ bool carc_X_value_eq(const i_val* x, const i_val* y); // cbox_X_value_c #define i_type Arc // (atomic) ref. counted type #define i_val Map -#define i_valfrom Map_clone +#define i_valclone Map_clone #define i_valdrop(p) (printf("drop Arc:\n"), Map_drop(p)) // no comparison of Maps needed (or available), and // no need for atomic ref. count in single thread: -#define i_opt c_no_cmp|c_no_atomic +#define i_opt c_no_cmp|c_no_atomic #include <stc/carc.h> #define i_type Stack |
