| Age | Commit message (Collapse) | Author |
|
|
|
_toraw(), see template.h diff.
|
|
containers.
|
|
PRIxYYY macros from inttypes.h. E.g. printf("%40" c_PRIsv "\n", c_ARGsv(sv)); to specify 40 character right aligned output of sv. Check your usage.
|
|
and cstr_append*(), i.e. the pointer to the (possible new) string buffer.
|
|
|
|
|
|
optional for enabling emplace.
|
|
|
|
|
|
|
|
|
|
|
|
minor changes.
|
|
|
|
|
|
each node separately on the heap, regular uses an array.
Now alt-version of csmap and cstr can be used by defining -DSTC_CSMAP_V1 and -DSTC_CSTR_V1 when compiling.
Improved code readability by making line breaks after if and while (also cmap.h).
Note, the alt-versions may be removed in the future, but the alt csmap.h may be made into an intrusive sorted map, where the creation and destruction of nodes must be done by the user.
|
|
|
|
|
|
|
|
|
|
tcc). c_unchecked_container_of() must be used by lib.
|
|
|
|
|
|
|
|
c_apply_cnt macro.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nomem, and result can be checked by user in cvec, cdeq, cmap, csmap (cvec/cdeq insert functions now returns pointer, not iter).
- Refactoring.
|
|
|
|
|
|
i_opt flag c_implement. Removed OLD include/alt/clist.h
|
|
|
|
|
|
to make_shared/make_unique in c++).
|
|
|
|
like emplace is removed in other containers.
|
|
|
|
|
|
|
|
i_key_bind/i_val_bind, a .._clone() function *must* always be defined.
Functions .._from and .._toraw is only required when i_keyraw/i_valraw type is defined.
|