summaryrefslogtreecommitdiffhomepage
path: root/examples/share_ptr.c
AgeCommit message (Collapse)Author
2021-01-20Improved README.mdTyge Løvset
2021-01-03Force template argument *clone* to be specified when *del* is specified for ↵Tyge Løvset
containers. Can be *c_no_clone* if clonable is not required.
2021-01-02Major upgrade: Added 'clone' template parameters to containers. Reorganized ↵Tyge Løvset
arg positions. Renamed csptr_X_share() to csptr_X_clone()
2020-12-30API change: Swapped destroy <-> compare function args in using_*() macros ↵Tyge Løvset
for cvec, cdeq, cptr and clist.
2020-12-17API change: Reverted back to original name used for .val in iterators to .refTyge Løvset
2020-11-26Removed stc/cfmt.h, as _Generic requires C11. I have made it a gist: ↵Tyge Løvset
https://gist.github.com/tylov/bcc956a4779f1d14204e66a14f17beb9 All examples are reverted to use printf() instead of c_print().
2020-10-25Changed stdout to have alias 1 instead of 0, and stderr=2.Tyge Løvset
2020-10-24Renamed c_printf() to c_print() because it no longer support of printf() ↵Tyge Løvset
formats. c_timef() renamed to c_ftime().
2020-10-21Fixed missing _Generic types. Renamed c_print to c_printf, added some usage.Tyge Løvset
2020-10-14Renamed cstr() constructor to cstr_from(), cstr_from() to cstr_from_fmt().Tyge Løvset
2020-09-27Fixed csptr and examples.Tyge Løvset
2020-09-26Merged csptr.h into cptr.h, simpler with one include file and these are very ↵Tyge Løvset
related and short.
2020-09-25Minor fixes.Tyge Løvset
2020-09-25Added cptr.h and good examples for cptr and csptr (share_ptr.c). Some ↵Tyge Løvset
internal refactor.