summaryrefslogtreecommitdiffhomepage
path: root/examples
AgeCommit message (Expand)Author
2021-01-17Fixed value offset bug. Added gauss example with csmap.Tyge Løvset
2021-01-17Cleanup csmap example.Tyge Løvset
2021-01-17Fixed code so that it runs in STC_HEADER mode. csmap.h slightly simplified.Tyge Løvset
2021-01-17Fixed a small issue. Added example.Tyge Løvset
2021-01-13Switched default cqueue underlying impl. from clist to cdeq.Tyge Løvset
2021-01-05Fixed examples/words.cTyge Løvset
2021-01-04Added cmap_X_value_del() and added convert.c example.Tyge Løvset
2021-01-04Added value_clone() method to containers.Tyge Løvset
2021-01-04Removed cmap_X_entry_t alias for cmap_X_value_t.Tyge Løvset
2021-01-04Added random pict.Tyge Løvset
2021-01-04Synced advanced.c with example 5 in cmap_api.mdTyge Løvset
2021-01-04Move and fix the advanced.c Viking example to cmap_api.mdTyge Løvset
2021-01-03Added macro: c_defcnt(): define container and push items onto it.Tyge Løvset
2021-01-03Force template argument *clone* to be specified when *del* is specified for c...Tyge Løvset
2021-01-02Major upgrade: Added 'clone' template parameters to containers. Reorganized a...Tyge Løvset
2021-01-02INternal: more moved template argsTyge Løvset
2021-01-02Almost internal: Swapped toRaw(), fromRaw() template arguments in containers.Tyge Løvset
2020-12-30API change: Swapped destroy <-> compare function args in using_*() macros for...Tyge Løvset
2020-12-28Reverted crand.h API back to rename crand_* to stc64_*, and crand_next() -> s...Tyge Løvset
2020-12-27Removed MACRO functions in API, like cvec_size(c), cvec_empty(c). Use cvec_X_...Tyge Løvset
2020-12-21Added another benchmark.Tyge Løvset
2020-12-21Added some benchmarks. Fix typo in cdeq.hTyge Løvset
2020-12-21Optimized cdeq_X_insert_range. Added crand_uniform_fast() method (slightly bi...Tyge Løvset
2020-12-19Some cleanup.Tyge Løvset
2020-12-17Renamed cpqueue (priority queue) container to cpque.Tyge Løvset
2020-12-17Forgot benchmark.cppTyge 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-15Minors on crandom and example.Tyge Løvset
2020-12-14Reworked the crandom.h module. Changed API (sorry!), made uniform distr. unbi...Tyge Løvset
2020-12-10Reverted cuptr to cptr. Added some typedefs in docs in cmap and cset.Tyge Løvset
2020-12-09Renamed coption.h to copt.h. Added docs/copt_api.md.Tyge Løvset
2020-12-09Renamed cptr_X type to cuptr_X, as it is similar to a unique_ptr, rather than...Tyge Løvset
2020-12-08Added docs/cptr_api.mdTyge Løvset
2020-12-08Added clone() to stack, cpqueue and queue.Tyge Løvset
2020-12-08- Added clone() to cvec and clistTyge Løvset
2020-12-05Some text improvements. Renamed method c_default_hash16 to c_default_hash.Tyge Løvset
2020-12-02Added carray docs.Tyge Løvset
2020-12-02Added better crandom and cvec example.Tyge Løvset
2020-12-01More docs update.Tyge Løvset
2020-11-30Added clist docs, updated cbitset.h and docs.Tyge Løvset
2020-11-26Renamed benchmark.c to c++ file, to default enable comparing with various c++...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-16Added cstr_contains(), cstr_begins_with(), cstr_ends_with(), and changed cstr...Tyge Løvset
2020-11-03Small API change c_withbuffer() and doc fix.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-10-25Changed stdout to have alias 1 instead of 0, and stderr=2.Tyge Løvset