summaryrefslogtreecommitdiffhomepage
path: root/examples/sptr.c
AgeCommit message (Collapse)Author
2022-01-11Fix / simplified unistd.h and renamed some examples that uses arc. (atomic ↵Tyge Løvset
ref. count / shared_ptr)
2021-12-22Renamed csptr to carc. i_key/val_ref renamed to i_key/val_sptr. Change ↵Tyge Løvset
inspired by Rust Arc/Rc. cbox name is taken from Rust Box type.
2021-12-22Changed the c_apply() and c_apply_pair() to one new c_apply() API. Added ↵Tyge Løvset
c_pair(v) for convenience.
2021-12-19Improved box.c and added a corresponding sptr.c example.Tyge Løvset