diff options
| author | Tyge Løvset <[email protected]> | 2021-01-30 23:05:36 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-01-30 23:05:36 +0100 |
| commit | b3d9e68fa2c2ec9ebe7e3f08045d01db5b720eea (patch) | |
| tree | 100c3d8b5a2df433efd9cf148d3c66506f1d288b /docs/cset_api.md | |
| parent | 5c196be3cfa172ca521ced0cf5d9b7d0acec5b83 (diff) | |
| download | STC-modified-b3d9e68fa2c2ec9ebe7e3f08045d01db5b720eea.tar.gz STC-modified-b3d9e68fa2c2ec9ebe7e3f08045d01db5b720eea.zip | |
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.
Diffstat (limited to 'docs/cset_api.md')
| -rw-r--r-- | docs/cset_api.md | 4 |
1 files changed, 2 insertions, 2 deletions
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");
|
