summaryrefslogtreecommitdiffhomepage
path: root/examples/list.c
AgeCommit message (Expand)Author
2022-12-20Restructured folders: examples, benchmarks, tests into misc folder.Tyge Lovset
2022-11-02Change to c_forwhile: takes start iter, not container.Tyge Løvset
2022-10-19Reverted back to c_forrrange from c_forloop. Still available but deprecated.Tyge Løvset
2022-09-26DEPRECATED: c_forrange(): replaced with c_forloop(). This uses 'long long' as...Tyge Løvset
2022-09-23Reverted c_forrange() macro with 3 or more args: swapped 1st and 2nd arg again.Tyge Løvset
2022-09-23Renamed c_forloop* macros to more descriptive c_forwhile*.Tyge Løvset
2022-09-23Deprecated c_forarray, c_forarray_p macros - both replaced by c_forlist, and ...Tyge Løvset
2022-09-22Renamed .idx => .index in c_forfilter() macroTyge Løvset
2022-09-21Added cstr_push(), cstr_pop() - push/pop one utf8 char.Tyge Løvset
2022-08-06c_apply() deprecated: replaced with c_forarray() macro. Updated and improved ...Tyge Løvset
2022-07-31VERSION 3.9: API change in c_forrange() with >= 3 args. csview updates.Tyge Løvset
2022-06-01Converted all files with DOS line endings to LINUX.Tyge Løvset
2022-06-01Added src/libstc.c which implements all non-templated functions (e.g. from cs...Tyge Løvset
2022-05-30Done refactoring:Tyge Løvset
2022-05-22Changed c_apply(v, ..) macro to make it more consistent with c_apply_arr(v, ....Tyge Løvset
2022-04-18crandom.h: Renamed *_init(..) functions to *_new(..). Old names are kept but ...Tyge Løvset
2022-04-11Fixed an potential issue with c_eq in template.h and missing usage in clist.hTyge Lovset
2022-04-09- Switched from .._put() to .._push() as the "generic" method to add element...Tyge Løvset
2022-01-03"gcc/clang -O2 -Wall -std=c99 -pedantic" compiles examples with no warnings. ...Tyge Løvset
2021-12-29Removed warnings for MS cl -W2 and clang -pedantic -std=c99. No functional ch...Tyge Løvset
2021-12-22Changed the c_apply() and c_apply_pair() to one new c_apply() API. Added c_pa...Tyge Løvset
2021-10-29Renamed ..._value_t -> ..._value, etc. Deprecated, still works for cvec, cdeq...Tyge Løvset
2021-10-05Changed recommended order of defining template parameters.Tyge Løvset
2021-09-23Cleanup: Replaced c_emplace() macro with more general c_apply()/c_apply_pair(...Tyge Løvset
2021-09-20Renamed macros: breaking changes for Version 2.0!Tyge Lovset
2021-09-08Updated most examples to newstyle. Some changes in cpque/cstack.Tyge Løvset
2021-05-24Split c_fordefer() into c_forvar() and c_fordefer() macros.Tyge Løvset
2021-05-24Renamed c_with => c_fordefer, and removed c_withvar. Macros were too deceivin...Tyge Løvset
2021-05-18Added the new c_defer(), c_with(), c_withvar() macros into the examples.Tyge Løvset
2021-04-17Changed c_emplace_items(&cont, ctype, {...}) macro with c_emplace(ctype, cont...Tyge Løvset
2021-04-02Rewrote clist API: Now in line with std::list API instead of std::forward_lis...Tyge Løvset
2021-02-21Renamed emplace_put() to emplace_or_assign(). May add put() as alias to inser...Tyge Løvset
2021-02-20Renamed push_items to emplace_nTyge Løvset
2021-01-24Improved cvec cdeq. Must be initied with cvec_X_init() and cdeq_X_init(). Not...Tyge Løvset
2021-01-21Reverted namings: crand to crandom, and copt to coption.Tyge Løvset
2020-12-28Reverted crand.h API back to rename crand_* to stc64_*, and crand_next() -> s...Tyge Løvset
2020-12-17API change: Reverted back to original name used for .val in iterators to .refTyge Løvset
2020-12-16Renamed crandom to crand, including renaming of relevant files.Tyge Løvset
2020-12-16Reverted back API to easier naming scheme of crandom.h types and methods.Tyge Løvset
2020-12-14Reworked the crandom.h module. Changed API (sorry!), made uniform distr. unbi...Tyge Løvset
2020-11-26Removed stc/cfmt.h, as _Generic requires C11. I have made it a gist: https://...Tyge Løvset
2020-11-03renamed __init to _initsTyge Løvset
2020-11-02Changed (half)-internal *_INIT to *__init macros. Minor reformatting.Tyge Løvset
2020-10-26Updates examples using cfmt.h c_print().Tyge Løvset
2020-09-24Changed iter.get to iter.val member. Internal, but used external. Will not ch...Tyge Løvset
2020-09-20converted to c_forrange().Tyge Løvset
2020-09-18Changed <container>_ini macro constant to <container>_INIT, and <container>_d...Tyge Løvset
2020-09-17Fixed range methods in cvec, and renamed typename_<container>(..) to using_<c...Tyge Løvset
2020-09-16Minor.Tyge Løvset
2020-09-16Changed iterator API in cset and clist. From i.get->value to *i.getTyge Løvset