summaryrefslogtreecommitdiffhomepage
path: root/include/stc/algo/crange.h
AgeCommit message (Collapse)Author
2023-07-21Renamed crange_make(...) => crange_init(...), deprecated crange_make().tylov
2023-07-15Improved warning, and other enhancements in ccommon.htylov
2023-07-10Reverted from crange_init() to crange_make() again. Added to changelog for v4.3tylov
2023-06-11Added priv/linkage.h and renamed priv/template2.h => priv/template_undef.h.Tyge Løvset
Make all examples c++ compatible, except those using cspan.h Removed: crange_obj() Renamed: crange_make() => crange_init() Renamed: cspan_make() => cspan_init() Renamed: cstr_NULL => cstr_null Renamed: csview_NULL => csview_null
2023-04-28Removed crandom.h and altnames.h. Housholding.Tyge Løvset
2023-03-12Safer state machine in coroutine.h (internal).Tyge Løvset
Removed c_forwhile() macro. Redundant, use c_forfilter(). Removed find and eq in cspan (use general c_find_if() instead for search).
2023-03-07Improved/simplified c_forfilter (): last optional parameter gone. Now ↵Tyge Løvset
c_flt_take() and c_flt_takewhile() breaks the loop always. c11/fmt.h : renamed fmt_freebuffer(buf) => fmt_destroy(buf).
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-07crange and docs update.Tyge Løvset
2023-01-23Changed c_OVERLOADMACRO() internally.Tyge Løvset
2023-01-19Finish last commit. Most safe function macros are now preferred lowercase, ↵Tyge Løvset
whereas flow control macros (c_FOREACH, ..) are preferred uppercase.
2023-01-15Large commit:Tyge Løvset
- Moved stc/algo/cspan.h to stc/cspan.h - its a data view type similar to csview. +Many updates. Added docs/cspan_api.md page! - Update c11/fmt.h to VER 2.0: NEW API, see test. NOTE: fmt.h is not officially part of STC, as it is C11, and STC is C99. - Renamed crange_LITERAL() back to crange_literal(), and cspan_LITERAL() to cspan_literal(). These returns a compound literal (lvalue) that can be passed to a c_FOR*-iterator.
2023-01-13Added algo/cmspan.h: multi-dim span, similar to c++23 mdspan. May get some ↵Tyge Løvset
API changes. Changed cspan.h, these may merge.
2023-01-04Bump to 2023Tyge Løvset
2022-12-31Moved fmt.h to include/c11 folder. Not used by the lib or examples as lib is ↵Tyge Løvset
c99 only.
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.