summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/demos.c
AgeCommit message (Collapse)Author
2023-07-20Moved examples to sub-directories. Added cotask1.c cotask2.c examples.tylov
2023-07-18Renamed i_native_cmp => i_cmp_nativetylov
Added c_all_of(), c_any_of(), c_none_of() to algo/filter.h
2023-07-15Improved warning, and other enhancements in ccommon.htylov
2023-07-12Changed docs and examples to use i_key* template parameters instead of ↵tylov
i_val* for all non-maps. Renamed c_ASSERT() to c_assert() and added optional message parameter to c_static_assert().
2023-06-29Usage change: comparison is no longer enabled when specifying i_val for ↵Tyge Lovset
cvec, cdeq and clist (like cstack and cqueue). Comparison functions are still required when specifying i_valclass. For fundamental/native types like integers, floats etc., define i_native_cmp along with i_val instead of i_less/i_cmp/i_eq.
2023-06-09Fixed issues with linking params i_implement, i_extern.Tyge Løvset
2023-03-26development branch for 4.2Tyge Løvset
Removed uses of c_auto and c_with in documentation examples and code examples. Still using c_defer a few places. Renamed c11/fmt.h to c11/print.h. Some additions in ccommon.h, e.g. c_const_cast(T, x). Improved docs.
2023-03-22Added c_foreach_r() macro for reverse iter of cvec, cdeq, cstack.Tyge Løvset
Moved c_find_if, c_erase_if, c_eraseremove_if to algo/filter.h Internals.
2023-02-08Changed to use lowercase flow-control macros in examples (uppercase will ↵Tyge Løvset
still be supported). Improved many examples to use c_make() to init containers.
2023-02-01Massive update from unsigned sizes and indices to signed.Tyge Lovset
2023-01-31Converted all containers but the maps and examples to signed sizes and indices.Tyge Løvset
2023-01-29Some method renaming in cspan: cspan_multidim() ctor => cspan_md(). ↵Tyge Løvset
cspan_atN() => cspan_submdN(). cstr_replace_ex() merged as overload of cstr_replace().
2022-12-30More restructuring of files and cleanup. Moved carr2.h and carr3.h to ↵Tyge Løvset
misc/include/old/ as it is not among classic containers. Removed stctest.h: Recommending https://github.com/bvdberg/ctest instead.
2022-12-29Restructuring of some headers into include/algo folder. Some API changes ↵Tyge Løvset
*_replace*() functions have been renamed, and a few minor API changes.
2022-12-23Experimental uppercase macros.Tyge Løvset
2022-12-20Restructured folders: examples, benchmarks, tests into misc folder.Tyge Lovset