diff options
| author | Tyge Løvset <[email protected]> | 2020-11-03 08:38:26 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-11-03 08:38:26 +0100 |
| commit | cc8fd2c9d8b5b8170a02ec33168d60bb92cd781d (patch) | |
| tree | cf7a840ddb4b3a557302eb114831a38025ef44cb /examples/mapmap.c | |
| parent | 7171182ce7e0106f8f0fc47ed8f1fe1f58b2ea5d (diff) | |
| download | STC-modified-cc8fd2c9d8b5b8170a02ec33168d60bb92cd781d.tar.gz STC-modified-cc8fd2c9d8b5b8170a02ec33168d60bb92cd781d.zip | |
renamed __init to _inits
Diffstat (limited to 'examples/mapmap.c')
| -rw-r--r-- | examples/mapmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mapmap.c b/examples/mapmap.c index 0e4b6991..9e637dde 100644 --- a/examples/mapmap.c +++ b/examples/mapmap.c @@ -7,8 +7,8 @@ using_cmap_str(); using_cmap_strkey(cfg, cmap_str, cmap_str_del);
int main(void) {
- cmap_cfg config = cmap__init;
- cmap_str init = cmap__init;
+ cmap_cfg config = cmap_inits;
+ cmap_str init = cmap_inits;
cmap_str_put(&cmap_cfg_emplace(&config, "user", init).first->second, "name", "Joe");
cmap_str_put(&cmap_cfg_emplace(&config, "user", init).first->second, "groups", "proj1,proj3");
cmap_str_put(&cmap_cfg_emplace(&config, "group", init).first->second, "proj1", "Energy");
|
