| Age | Commit message (Collapse) | Author |
|
emulates standard C11 threads library for compilers not supporting C11 threads.h.
Fixed and cleanup of CMake build.
|
|
inspired by Rust Arc/Rc. cbox name is taken from Rust Box type.
|
|
c_pair(v) for convenience.
|
|
'_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.
|
|
to containing objects. If i_cmp is defined, it is used instead.
|
|
/ 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.
|
|
clang or msvc.
|
|
|
|
element comparison for cvec, cdeq, clist, csptr. Will give compile time error if functions depending on comparisons are used.
|
|
|
|
cdeq_X_erase() - may be used wrong. Use cvec_X_erase_n() instead.
Fixed type-bug in cpque.h (same was in cqueue.h).
|