| Age | Commit message (Collapse) | Author |
|
|
|
const char*.
|
|
cstr_equals() => cstr_equalto()
cstr_compare_ref() => cstr_compare()
cstr_equals_ref() => cstr_equals()
cstr_hash_ref() => cstr_hash()
|
|
Updated doc and improved csmap_erase.c example.
|
|
updated to have its own size counter.
|
|
|
|
|
|
bit state (256 mutable).
This is equally fast as the previous, but likely better quality because the 16-bit version is good, opposed to previous which failed PractRand.
|
|
|
|
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().
|
|
using_cmap_strv*(), ...
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|