summaryrefslogtreecommitdiffhomepage
path: root/examples/complex.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-05-07 11:12:04 +0200
committerTyge Løvset <[email protected]>2021-05-07 11:12:04 +0200
commitb2558e4523a3a5d48c214e2625df46b71ecb1060 (patch)
tree1b169fb92d927cb545eee8826addfe6067047034 /examples/complex.c
parent6457057331d7a98b25cfa48371280da859f005f1 (diff)
downloadSTC-modified-b2558e4523a3a5d48c214e2625df46b71ecb1060.tar.gz
STC-modified-b2558e4523a3a5d48c214e2625df46b71ecb1060.zip
Reverted c_trivial_*() to c_default_*().
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 eea92dbd..13c36d97 100644
--- a/examples/complex.c
+++ b/examples/complex.c
@@ -5,7 +5,7 @@
void check_del(float* v) {printf("destroy %g\n", *v);}
-using_carray2(f, float, check_del, c_trivial_fromraw);
+using_carray2(f, float, check_del, c_default_fromraw);
using_clist(arr, carray2f, c_no_compare, carray2f_del, c_no_clone);
using_cmap(lst, int, clist_arr, c_default_equals, c_default_hash, clist_arr_del, c_no_clone);
using_cmap_strkey(map, cmap_lst, cmap_lst_del, c_no_clone);