| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Added cstr_from_replace_all() and cstr_replace_all_v() to do replace-all from csview inputs.
|
|
cstr_sv(cstr), and c_lit(string literal) => c_sv(string literal). Hopefully not too much used yet, as they are fairly new.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
malloc). Added assign(), copy().
|
|
forward_csmap() and forward_csset(). Not yet documented.
|
|
using_cmap_strv*(), ...
|
|
|
|
|
|
|
|
|
|
some point.
|
|
|
|
cdeq and clist forwardable.
Note: forwardable parameter is currently last (c_true/c_false). May be moved ahead to after _del parameter, maybe..
|
|
- Updated csmap/cmap to separate out types in order to later have incomplete values support.
- Added incomplete value support to csptr. I question the need because recursive structures should not use shared_ptr.
- Added c_forinitdel() macro, support up to 3 variables.
|
|
|
|
2. Added *experimental* forward declare for cvec: No API changes:
typedef struct person Person;
// forward declare cvec_prs
forward_cvec(prs, Person);
...
// complete definition: specify c_false as very last parameter.
using_cvec(prs, Person, c_no_compare, person_del, person_clone, c_default_toraw, Person, c_false);
|
|
|
|
|
|
|
|
|
|
|
|
position than size of view.
|
|
input argument variants. Changed def of cstr_npos.
|
|
negative pos on cstr_substr, csview_substr. Added cstr_slice, csview_slice.
|
|
cstr_trim(cstr* self, left, right);
|
|
|
|
|
|
|
|
special for printing csviews with "%.*s" format.
|
|
|
|
|
|
|
|
|
|
|
|
deceiving and hid the fact that it was for-loops. Now it is more explicit.
|
|
|
|
|
|
|
|
|
|
|