diff options
Diffstat (limited to 'examples/inits.c')
| -rw-r--r-- | examples/inits.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/inits.c b/examples/inits.c index 759fc7a7..2c138a43 100644 --- a/examples/inits.c +++ b/examples/inits.c @@ -45,7 +45,7 @@ int main(void) // CMAP ID
int year = 2020;
- cmap_id idnames = cmap_inits;
+ cmap_id idnames = cmap_id_init();
c_push_items(&idnames, cmap_id, {
{100, cstr_from("Hello")},
{110, cstr_from("World")},
@@ -59,7 +59,7 @@ int main(void) // CMAP CNT
- cmap_cnt countries = cmap_inits;
+ cmap_cnt countries = cmap_cnt_init();
c_push_items(&countries, cmap_cnt, {
{"Norway", 100},
{"Denmark", 50},
|
