summaryrefslogtreecommitdiffhomepage
path: root/examples/complex.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/complex.c
parentc1131d5a5117a79f3fc0a1b693637be7a5298ab3 (diff)
downloadSTC-modified-dc1b74109029bc82efea290475431cafc0307674.tar.gz
STC-modified-dc1b74109029bc82efea290475431cafc0307674.zip
Finished adding RawValue API (convertable values) to containers.
Diffstat (limited to 'examples/complex.c')
-rw-r--r--examples/complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex.c b/examples/complex.c
index cd8a6d78..08a3b505 100644
--- a/examples/complex.c
+++ b/examples/complex.c
@@ -8,7 +8,7 @@ void check_destroy(float* v) {printf("destroy %g\n", *v);}
declare_carray(f, float, check_destroy); // normally omit the last argument - float type need no destroy.
declare_clist(t2, carray2f, carray2f_destroy, c_no_compare);
declare_cmap(il, int, clist_t2, clist_t2_destroy);
-declare_cmap_str(sm, cmap_il, cmap_il_destroy);
+declare_cmap_strkey(sm, cmap_il, cmap_il_destroy);
int main() {
int xdim = 4, ydim = 6;