summaryrefslogtreecommitdiffhomepage
path: root/include/stc/clist.h
AgeCommit message (Expand)Author
2022-06-01Added src/libstc.c which implements all non-templated functions (e.g. from cs...Tyge Løvset
2022-05-29Internal: Changed using i_keyraw to using _cx_raw or _cx_rawkey typedefs: avo...Tyge Lovset
2022-05-13constness and code formatting.Tyge Lovset
2022-05-05Added type-checked c_container_of() macro using typeof (C23, gcc, clang, tcc)...Tyge Løvset
2022-05-03Minor adjustments to previous commit.Tyge Løvset
2022-05-03Added push front/back of existing nodes.Tyge Løvset
2022-05-02Fix linkage issue with clist_X_count().Tyge Løvset
2022-04-28_i_implement moved to user-level template parameter as i_implement. Removed i...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-20Support for cloning containers with carc and cbox.Tyge Lovset
2022-04-18Renamed stc64_random() => crandom(), stc64_srandom(seed) => csrandom(seed). K...Tyge Løvset
2022-04-15Adding comment to #endif's.Tyge Løvset
2022-04-15Merge branch 'master' of github.com:tylov/STCTyge Løvset
2022-04-15Updated README.md docs on template args! Reverted to put() as alias for inser...Tyge Løvset
2022-04-11Fixed an potential issue with c_eq in template.h and missing usage in clist.hTyge Lovset
2022-04-11Added important parenthesizes around macro expressions.Tyge Løvset
2022-04-10Parenthesized args in calls to i_keyfrom(c), i_keyto(p) i_valfrom(c), i_valto...Tyge Løvset
2022-04-10Parenthesized args in calls to i_cmp(x, y), i_eq(x, y) and i_hash(x, len) - c...Tyge Løvset
2022-04-10Parenthesized calls to i_drop(x) - can be defined as macro without parenthesi...Tyge Løvset
2022-04-09- Switched from .._put() to .._push() as the "generic" method to add element...Tyge Løvset
2022-04-09Universally added a put() function to all containers.Tyge Løvset
2022-04-07Partly reverted (auto defined _i_no_emplace): emplace functions only availabl...Tyge Løvset
2022-04-02Internal refactoring/macro rename.Tyge Lovset
2022-04-01Simplified internal logic on enabling default cloningTyge Løvset
2022-01-16Made private functions (not called by header inlines) always static. Added re...Tyge Løvset
2022-01-03Bump to 2022.Tyge Løvset
2022-01-03"gcc/clang -O2 -Wall -std=c99 -pedantic" compiles examples with no warnings. ...Tyge Løvset
2022-01-02Simplified and improved linkage configuration. Reorganized crandom.h a bit.Tyge Løvset
2022-01-01Corrected linking macro settings.Tyge Løvset
2021-12-23Removed emplace functions if not i_valraw or i_keyraw is defined. Safety/opti...Tyge Løvset
2021-12-22Renamed '_rawvalue\b' to '_raw'Tyge Løvset
2021-12-19First commit for Version 3 of STC. Main changes are consistent rename of '_de...Tyge Løvset
2021-12-12- Added **cbox** type: container of one element: similar to std::unique_ptr /...Tyge Løvset
2021-12-02Breaking changes for i_fwd and i_cmp_none:Tyge Løvset
2021-11-24Deprecated c_no_compare(). Define i_cmp_none instead when you have/want no el...Tyge Løvset
2021-11-21BREAKING CHANGE: Replaced c_new(T) with c_new(T, ...). This now is similar to...Tyge Løvset
2021-11-03Renamed cnt_X_getmut() to cnt_X_get_mut().Tyge Lovset
2021-11-03Update container_X_getmut() for mutable version.Tyge Løvset
2021-11-03Changed container_X_get() and container_X_at() to return const value* (or con...Tyge Løvset
2021-10-30Fixed docs alignments.Tyge Løvset
2021-10-29Renamed ..._value_t -> ..._value, etc. Deprecated, still works for cvec, cdeq...Tyge Løvset
2021-10-29renamed _cx_..._t to _cx_...Tyge Løvset
2021-10-29renamed cx_..._t to _cx_..._t, and Self to _cx_selfTyge Løvset
2021-10-18Fixed clist.h example in headerTyge Løvset
2021-10-02Moved ref member in clist_X_iter_t to start of struct;Tyge Løvset
2021-09-23Cleanup: Replaced c_emplace() macro with more general c_apply()/c_apply_pair(...Tyge Løvset
2021-09-21Added copy(self, other) function to all containers. Fixed some docs.Tyge Løvset
2021-09-20Renamed macros: breaking changes for Version 2.0!Tyge Lovset
2021-09-18Changed the sharedptr.c example. Removed clist_X_erase(): was alias of clist_...Tyge Løvset