From b3d9e68fa2c2ec9ebe7e3f08045d01db5b720eea Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sat, 30 Jan 2021 23:05:36 +0100 Subject: Internal changes: removed use of cmap_inits and set_inits. Use cmap_x_init() and cset_X_init(). Minor changes in cvec, csmap, cstr, crandom. --- docs/cset_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/cset_api.md b/docs/cset_api.md index a1303597..06c3f552 100644 --- a/docs/cset_api.md +++ b/docs/cset_api.md @@ -93,11 +93,11 @@ using_cset_str(); int main () { - cset_str first = cset_inits; // empty + cset_str first = cset_str_init(); // empty c_init (cset_str, second, {"red", "green", "blue"}); c_init (cset_str, third, {"orange", "pink", "yellow"}); - cset_str fourth = cset_inits; + cset_str fourth = cset_str_init(); cset_str_emplace(&fourth, "potatoes"); cset_str_emplace(&fourth, "milk"); cset_str_emplace(&fourth, "flour"); -- cgit v1.2.3