summaryrefslogtreecommitdiffhomepage
path: root/include/stc
AgeCommit message (Expand)Author
2023-03-06Simplify macro calling coroutine from coroutine.Tyge Løvset
2023-03-01Reverted example moves.Tyge Løvset
2023-03-01Moved algorithm examples to algo folder.Tyge Løvset
2023-02-28Fixed stopping of sub-coroutines.Tyge Løvset
2023-02-28Fixed a state issue in coroutine.Tyge Løvset
2023-02-28Final cleanups on corotines.Tyge Løvset
2023-02-28Renamed cco_coroutine => overloaded cco_yield(coro, ctx, retval).Tyge Løvset
2023-02-28Fixed coroutine.h and examples. cco_return; has no arguments.Tyge Løvset
2023-02-27Enhanced c_with and c_scope macros. Improved coroutine.h and example.Tyge Løvset
2023-02-27Let cco_end(value) return value. Should be last in function anyway.Tyge Løvset
2023-02-27Minor issue fixed.Tyge Løvset
2023-02-27Simplified coroutine.h a bit and modified coroutines.cTyge Løvset
2023-02-26Addition to coroutine.h. Allow dynamic allocation of context.Tyge Løvset
2023-02-25Finish fixes in coroutine.h.Tyge Løvset
2023-02-25Some clever adjustment to coroutine state.Tyge Løvset
2023-02-25Renamed algo/ccoro.h => algo/coroutine.h. Using cco_ as prefix. Changed ccoro...Tyge Løvset
2023-02-24Added cspan_find() - 2 liner.Tyge Løvset
2023-02-24Added eq function to cspan.Tyge Løvset
2023-02-24Update ccoro.h and added cosub.c example demoing a corotine calling another c...Tyge Løvset
2023-02-24Added eq function to cdeq, clist, cmap, csmap, and fixed cmap eq.Tyge Løvset
2023-02-24Added eq function to cvec.Tyge Løvset
2023-02-24Allow to have both i_no_cmp and i_eq defined.Tyge Løvset
2023-02-24Replace by ccoro.hTyge Løvset
2023-02-23Replaced coroutine.h with ccoro.h. Stackbased only.Tyge Løvset
2023-02-23Fix minor regression in coroutine.h.Tyge Løvset
2023-02-23Renamed cco.h to coroutine.hTyge Løvset
2023-02-23Internal updates.Tyge Løvset
2023-02-22Renamed ccontext => cco_handleTyge Løvset
2023-02-22Added coroutines, based upon Simon Tatham's famous implementation. This versi...Tyge Løvset
2023-02-20Added c_eraseremove_if() for cvec, cdeq, cstack, cqueue in ccommon.h. Some cl...Tyge Løvset
2023-02-18Fixed carc, cbox: no need for no_lookup and no_eq: use only no_cmp, no_hash i...Tyge Løvset
2023-02-17Improved clist: 1) added clist_X_sort_with(self, cmp) - custom compare func. ...Tyge Løvset
2023-02-16Reverted and removed maps put function. Renamed clist node api functions. Min...Tyge Løvset
2023-02-15Cleaned up in size-types. API always uses intptr_t as default for all contain...Tyge Løvset
2023-02-13Changed name of c_flt_inc() to c_flt_count().Tyge Løvset
2023-02-13Removed support for uppercase version of c_sv() (i.e c_SV => c_sv).Tyge Løvset
2023-02-13Docs update and improvementsTyge Løvset
2023-02-12Fairly large update before release 4.1, cleaning up docs and some minor addit...Tyge Løvset
2023-02-11Some more docs. Renamed (half-)internal template parameter i_size => i_ssize....Tyge Løvset
2023-02-10Added struct name to typedef to allow container pointer predecarations.Tyge Løvset
2023-02-08Changed to use lowercase flow-control macros in examples (uppercase will stil...Tyge Løvset
2023-02-08Minors.Tyge Løvset
2023-02-07Small adjustment for i_allocatorTyge Løvset
2023-02-07crange and docs update.Tyge Løvset
2023-02-07Added custom allocator per container type.Tyge Løvset
2023-02-07removed c_ALLOC_N()Tyge Løvset
2023-02-05Some last minute changes: reverted mostly the c_extern from last commit.Tyge Løvset
2023-02-05Fixed linking parameters i_extern.Tyge Løvset
2023-02-05- Updated cspan.h to allow for compiling some functions as shared symbols.Tyge Løvset
2023-02-04Fix in ccommon.h to make MSVC work again (without -std:c11) + small adjustments.Tyge Løvset