summaryrefslogtreecommitdiffhomepage
path: root/examples
AgeCommit message (Expand)Author
2022-05-19Some extra test on template params. Update shape.c example.Tyge Løvset
2022-05-19Small update of shape.cTyge Løvset
2022-05-19Added _toval() in carc and cbox. Added dynamic polymorphism example, shape.c.Tyge Løvset
2022-05-18Formatted carc.h cbox.h: also simplified; removed _get() -> was same as _tora...Tyge Løvset
2022-05-16Changed contructor names in carr2/carr3 to be more consistent with other cont...Tyge Løvset
2022-05-13Changed csview c_PRIsv macro. Now must be prefixed with "%", to match with PR...Tyge Løvset
2022-05-13constness and code formatting.Tyge Lovset
2022-05-12i_keyfrom/i_valfrom no longer used with i_key_bind/i_val_bind. Is considered ...Tyge Løvset
2022-05-07Updated alt/csmap.h to be synced with current csmap.h; alt-version allocates ...Tyge Løvset
2022-05-04Missing includes because of change in cregex.hTyge Løvset
2022-05-02More doc fixes on i_keyclone, i_keyfrom and i_valclone, i_valfromTyge Løvset
2022-04-28Finalized template.h logic.Tyge Løvset
2022-04-27Final fixes to carc and cbox; Reverted constructor name to make; (similarity ...Tyge Løvset
2022-04-27Updated examples.Tyge Løvset
2022-04-27Bugfix: cbox didn't use i_keyclone, and therefore did not deep clone properly.Tyge Løvset
2022-04-27Added cstr_expand_uninitialized().Tyge Løvset
2022-04-27Finally FIXED cloning/to/from scheme to work properly. When using i_key_bind/...Tyge Løvset
2022-04-25Removed size argument to `i_hash` template parameter and `c_default_hash`. Th...Tyge Løvset
2022-04-25Added lower_bound() examples with both sorted cvec and sorted set (csset).Tyge Løvset
2022-04-23Integrated (and removed) c_hash32 and c_hash64 into c_default_hash, which is ...Tyge Løvset
2022-04-22Readded push()/emplace() to all containers missing them. Made _hash function ...Tyge Løvset
2022-04-21Switched to use i_key as primary template type parameter for all containers. ...Tyge Løvset
2022-04-20Some cleanup after carc / cbox updates.Tyge Løvset
2022-04-20Support for cloning containers with carc and cbox.Tyge Lovset
2022-04-19Renamed cbox_new/carc_new to cbox_make/carc_make. Disabled container emplace ...Tyge Lovset
2022-04-19Added #error/warnings for likely missing definitions of i_hash/i_cmp.Tyge Løvset
2022-04-18crandom.h: Renamed *_init(..) functions to *_new(..). Old names are kept but ...Tyge Løvset
2022-04-18Renamed newly added map function put_r() to put_raw() - alias for emplace_or_...Tyge Lovset
2022-04-18Removed i_drop and i_from template specifiers to reduce redundancies and add ...Tyge Lovset
2022-04-18Converted all example to use cstr_str(&s) instead of s.str to allow SSO strin...Tyge Løvset
2022-04-11Fixed an potential issue with c_eq in template.h and missing usage in clist.hTyge Lovset
2022-04-10Fixed regression bug: cqueue_pop() did pop_back(), fixed to do pop_front().Tyge Løvset
2022-04-09- Switched from .._put() to .._push() as the "generic" method to add element...Tyge Løvset
2022-04-07More refactoring of cbits.h + minor changes in examples/benchmark.Tyge Løvset
2022-04-06Refactoring cbits.h and sso alt/cstr.hTyge Løvset
2022-03-30More enhancements on cstr / cstr_sso.Tyge Løvset
2022-03-26Fixed alt/cstr.h (short string optimized), so that it can be used in containe...Tyge Løvset
2022-03-25Modified (more) rarely used macros c_apply_cnt(v, ..) and c_apply_arr(v, ..) ...Tyge Løvset
2022-03-24Misc. small internal API renaming/refactoring and additions.Tyge Løvset
2022-03-16Bugfix: carc and cbox cmp functions had bug.Tyge Løvset
2022-03-04Updated printf formatting to portable code. This was also to use http://winli...Tyge Løvset
2022-02-18Some improvements and cleanup: CRegex, CMap.Tyge Løvset
2022-02-16Refactoring. Added size type param to forward_cmap/csmap . Reverted c_autovar...Tyge Løvset
2022-02-06Misc improvements.Tyge Løvset
2022-02-06Some build warnings/fixes.Tyge Løvset
2022-02-05Switched to heavily modified version of Rob Pike's plan9 regexp9. -> now rena...Tyge Løvset
2022-01-30Replaced utf8_decode() and friends code.Tyge Løvset
2022-01-16Made private functions (not called by header inlines) always static. Added re...Tyge Løvset
2022-01-16Added cregex_compile() to reuse a cregex object (using realloc)). Major optim...Tyge Løvset
2022-01-15Added back cregex with examples. Found the bug in his code.Tyge Løvset