| Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
csmap_insert.c example.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cstr_lit(literal), csview_new() => csview_lit(). Added c_lit(literal) alias to csview_lit(literal).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|