summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-12-30Renamed c_default_clone to c_default_from (mostly used internally).Tyge Løvset
2021-12-30Update docs and impl. of cpque.hTyge Løvset
2021-12-29Removed warnings for MS cl -W2 and clang -pedantic -std=c99. No functional ↵Tyge Løvset
changes.
2021-12-29Fixed minors in map docs.Tyge Løvset
2021-12-29Merge pull request #17 from tylov/version3Tyge Løvset
Version3 Breaking changes are covered by the migration guide in the NEWS section in README.md
2021-12-29Some more docs.Tyge Løvset
2021-12-29Update of README.md docs describing version 3.Tyge Løvset
2021-12-29Fixed and simplified csview tokensizer call.Tyge Løvset
2021-12-28Some renaming of new features in previous commit.Tyge Løvset
2021-12-28Added autocheck.l utility to check for wrong usage of c_auto*.Tyge Løvset
2021-12-23Fix new_sptr.c example.Tyge Løvset
2021-12-23Removed emplace functions if not i_valraw or i_keyraw is defined. ↵Tyge Løvset
Safety/optimize measure.
2021-12-22Finished Readme.md updates.Tyge Løvset
2021-12-22Update.Tyge Løvset
2021-12-22Updated README.mdTyge Løvset
2021-12-22Forgot csptr_api.md rename.Tyge Løvset
2021-12-22Renamed csptr to carc. i_key/val_ref renamed to i_key/val_sptr. Change ↵Tyge Løvset
inspired by Rust Arc/Rc. cbox name is taken from Rust Box type.
2021-12-22Minor example update.Tyge Løvset
2021-12-22Renamed '_rawvalue\b' to '_raw'Tyge Løvset
2021-12-22Changed the c_apply() and c_apply_pair() to one new c_apply() API. Added ↵Tyge Løvset
c_pair(v) for convenience.
2021-12-21Minor improvement.Tyge Løvset
2021-12-21Fixed and simplified cbox and csptr.Tyge Løvset
2021-12-20Update cmap_api.mdTyge Løvset
2021-12-20Some small addition to constness in API. Updated docs.Tyge Løvset
2021-12-19Global rename of `_equ\b` => `_eq`. In practice `i_equ` must renamed to ↵Tyge Løvset
`i_eq` in user code if used.
2021-12-19More docs, small example updates.Tyge Løvset
2021-12-19Update wrong info in doc.Tyge Løvset
2021-12-19Improved box.c and added a corresponding sptr.c example.Tyge Løvset
2021-12-19First commit for Version 3 of STC. Main changes are consistent rename of ↵Tyge Løvset
'_del' to '_drop' and '_compare' to '_cmp'. Also i_key_ref (earlier i_key_sptr) and i_val_ref replaced by more general i_key_bind/i_val_bind.
2021-12-16Changed default comparison of csbox and csptr objects to comparing addresses ↵Tyge Løvset
to containing objects. If i_cmp is defined, it is used instead.
2021-12-15Some improvements in cvec and cpque.Tyge Løvset
2021-12-14Fixed bug in cbits_to_str().Tyge Løvset
2021-12-14Fixed docs build issue.Tyge Løvset
2021-12-14Some more docs updates and new csptr examples.Tyge Løvset
2021-12-14Final update of box2.c example.Tyge Løvset
2021-12-14Small improvement of example box2.c.Tyge Løvset
2021-12-14Fixed silly bug in cpque_X_pop(). Thanks to matthieugras. Added ↵Tyge Løvset
cpque_X_shrink_to_fit(). Fixed memory leak in example box2.c
2021-12-14Added and renamed some examples.Tyge Løvset
2021-12-14cstr_printf() now returns int like printf(). Minor updates in sharedptr.c ↵Tyge Løvset
example.
2021-12-13Renamed constructor *cstr_lit()* to `cstr_new(lit)`.Tyge Løvset
Renamed *cstr_assign_fmt()* to `cstr_printf()`. Renamed cbits_from_str() to cbits_from().
2021-12-12Update csptr_api.mdTyge Løvset
2021-12-12Fixed the source of the problem for the ptr_elems.c example bug.Tyge Løvset
2021-12-12Fixed example bug.Tyge Løvset
2021-12-12Commented out example with error.Tyge Løvset
2021-12-12Try fix ptr_elems.c. Some more docs for cbox. Temporarily comment out ↵Tyge Løvset
benchmark Action
2021-12-12Merge branch 'master' of github.com:tylov/STC into masterTyge Løvset
2021-12-12- Added **cbox** type: container of one element: similar to std::unique_ptr ↵Tyge Løvset
/ Rust Box. - Replaced example for **csptr** in docs. - Added [**c_forpair**](docs/ccommon_api.md) macro: for-loop with "structural binding" as in c++. - Deprecated *csptr_X_make()*. Renamed to *csptr_X_new()*. Corresponding **cbox** method is *cbox_X_new()*. - Deprecated *c_default_fromraw(raw)*. Renamed to *c_default_clone(raw)*. - Deprecated `i_key_csptr` / `i_val_csptr`. Use `i_key_ref` / `i_val_ref` when specifying containers with **csptr** or **cbox** elements. - Deprecated `i_cnt`. Use `i_type` instead to define the full container type name. - Bugfixes and docs updates.
2021-12-02Update cmap_api.mdTyge Løvset
2021-12-02shared_ptr atomic count: Using stdatomics.h for other compilers than gcc, ↵Tyge Løvset
clang or msvc.
2021-12-02Merge branch 'master' of github.com:tylov/STC into masterTyge Løvset