diff options
| author | Tyge Løvset <[email protected]> | 2022-03-16 21:41:40 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-03-16 21:41:40 +0100 |
| commit | 0468971b404cee5582d360d7d1c66bb4148e1614 (patch) | |
| tree | 9161ccbea490a5dab70e641f7bd568521a5da636 /docs | |
| parent | 342484f70998258022c26e6af2926ecc7635bbdd (diff) | |
| download | STC-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')
| -rw-r--r-- | docs/carc_api.md | 4 | ||||
| -rw-r--r-- | docs/cbox_api.md | 4 |
2 files changed, 4 insertions, 4 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() 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 <stc/cbox.h> #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 <stc/csset.h> // ISet : std::set<std::unique_ptr<int>> #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 <stc/cvec.h> // IVec : std::vector<std::unique_ptr<int>> int main() |
