summaryrefslogtreecommitdiffhomepage
path: root/examples/mapmap.c
diff options
context:
space:
mode:
authortylo <[email protected]>2020-08-28 10:14:56 +0200
committertylo <[email protected]>2020-08-28 10:14:56 +0200
commitdc1b74109029bc82efea290475431cafc0307674 (patch)
tree73f9e7ac75c6e6ee015417010034827bfbfa9265 /examples/mapmap.c
parentc1131d5a5117a79f3fc0a1b693637be7a5298ab3 (diff)
downloadSTC-modified-dc1b74109029bc82efea290475431cafc0307674.tar.gz
STC-modified-dc1b74109029bc82efea290475431cafc0307674.zip
Finished adding RawValue API (convertable values) to containers.
Diffstat (limited to 'examples/mapmap.c')
-rw-r--r--examples/mapmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mapmap.c b/examples/mapmap.c
index 14ccd9a9..1f2bd4f5 100644
--- a/examples/mapmap.c
+++ b/examples/mapmap.c
@@ -8,8 +8,8 @@ static void my_str_destr(cstr_t* x) {
cstr_destroy(x);
}
-declare_cmap_str(ss, cstr_t, my_str_destr);
-declare_cmap_str(cfg, cmap_ss, cmap_ss_destroy);
+declare_cmap_strkey(ss, cstr_t, my_str_destr);
+declare_cmap_strkey(cfg, cmap_ss, cmap_ss_destroy);
int main(void) {
cmap_cfg config = cmap_init;