From 0468971b404cee5582d360d7d1c66bb4148e1614 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Wed, 16 Mar 2022 21:41:40 +0100 Subject: 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. --- docs/carc_api.md | 4 ++-- docs/cbox_api.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') 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 #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 #define i_type List -#define i_val_sptr Arc // as above +#define i_val_arcbox Arc // as above #include int main() diff --git a/docs/cbox_api.md b/docs/cbox_api.md index 32271f58..fe23fa8a 100644 --- a/docs/cbox_api.md +++ b/docs/cbox_api.md @@ -77,11 +77,11 @@ void int_drop(int* x) { #include #define i_type ISet -#define i_key_sptr IBox // NB: use i_key_sptr instead of i_key +#define i_key_arcbox IBox // NB: use i_key_arcbox instead of i_key #include // ISet : std::set> #define i_type IVec -#define i_val_sptr IBox // NB: use i_val_sptr instead of i_val +#define i_val_arcbox IBox // NB: use i_val_arcbox instead of i_val #include // IVec : std::vector> int main() -- cgit v1.2.3