diff options
Diffstat (limited to 'examples/complex.c')
| -rw-r--r-- | examples/complex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/complex.c b/examples/complex.c index 6f665208..16aa75b7 100644 --- a/examples/complex.c +++ b/examples/complex.c @@ -5,8 +5,8 @@ void check_del(float* v) {printf("destroy %g\n", *v);}
-using_carray(f, float, check_del, c_default_clone); // normally omit the last argument - float type need no destroy.
-using_clist(a, carray2f, c_no_compare, carray2f_del);
+using_carray(f, float, check_del, c_default_clone); // normally omit the last 2 arguments - float type need no destroy.
+using_clist(a, carray2f, c_no_compare, carray2f_del, carray2f_clone);
using_cmap(l, int, clist_a, clist_a_del, clist_a_clone);
using_cmap_strkey(s, cmap_l, cmap_l_del, cmap_l_clone);
|
