summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csmap.h
AgeCommit message (Expand)Author
2022-05-29Internal: Changed using i_keyraw to using _cx_raw or _cx_rawkey typedefs: avo...Tyge Lovset
2022-05-10Renamed (newish) functions expand_uninitialized to expand_uninit. + some mino...Tyge Lovset
2022-05-07Updated alt/csmap.h to be synced with current csmap.h; alt-version allocates ...Tyge Løvset
2022-05-05Added type-checked c_container_of() macro using typeof (C23, gcc, clang, tcc)...Tyge Løvset
2022-05-01- Array expansions (insert, reserve, clone) are now checked for malloc nomem,...Tyge Lovset
2022-04-29cmap/csmap cleanup incl. docs.Tyge Løvset
2022-04-28_i_implement moved to user-level template parameter as i_implement. Removed i...Tyge Løvset
2022-04-22Changed API for c*map_X_push() to take a entry pair (c*map_X_value) argument ...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 newly added map function put_r() to put_raw() - alias for emplace_or_...Tyge Lovset
2022-04-17alt/cstr.h (sso string): added cstr_replace_all(). Header examples updated to...Tyge Løvset
2022-04-16Added at_mut() to some containers. Added put_r() to cmap, csmap as alias for ...Tyge Løvset
2022-04-15Adding comment to #endif's.Tyge Løvset
2022-04-15Updated README.md docs on template args! Reverted to put() as alias for inser...Tyge Løvset
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-02-16Refactoring. Added size type param to forward_cmap/csmap . Reverted c_autovar...Tyge Løvset
2022-01-17Fixed object linkage declarations/definitions.Tyge 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-03Regression in csmap, and possible cvec in last commit. Reverting.Tyge Løvset
2022-01-03Removed many warnings (mainly linux), and some minors.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-20Some small addition to constness in API. Updated docs.Tyge Løvset
2021-12-19First commit for Version 3 of STC. Main changes are consistent rename of '_de...Tyge Løvset
2021-12-02Breaking changes for i_fwd and i_cmp_none:Tyge Løvset
2021-11-25Updated int params constness. Updated random.c example.Tyge Løvset
2021-11-21Made none mutable integers into const variables. Improved cmap_X_reserve() impl.Tyge Løvset
2021-11-21Changed reverse() and resize() to return false if mem alloc failed.Tyge Løvset
2021-11-05Changed array expansion policy from 1.625x to 1.5xTyge 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-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-06Remove side-effects from i_valdel() invocations in case it's a macro func.Tyge Lovset