summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-03-21 21:06:00 +0100
committerTyge Løvset <[email protected]>2021-03-21 21:06:00 +0100
commit15c5ad14e7f4755ecae95e3aae484bdbbea34623 (patch)
treee033a7a1a81770b702a6d38bde63598c3e07d1f5 /examples
parentd684194487c444231c69cc82147cc8e2ac8cccd1 (diff)
downloadSTC-modified-15c5ad14e7f4755ecae95e3aae484bdbbea34623.tar.gz
STC-modified-15c5ad14e7f4755ecae95e3aae484bdbbea34623.zip
Splitted using_carray() into using_carray2() and using_carray3()
Diffstat (limited to 'examples')
-rw-r--r--examples/complex.c2
-rw-r--r--examples/demos.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/complex.c b/examples/complex.c
index 49cd0077..4ca833d4 100644
--- a/examples/complex.c
+++ b/examples/complex.c
@@ -5,7 +5,7 @@
void check_del(float* v) {printf("destroy %g\n", *v);}
-using_carray(f, float, check_del, c_trivial_fromraw);
+using_carray2(f, float, check_del, c_trivial_fromraw);
using_clist(a, carray2f, c_no_compare, carray2f_del, c_no_clone);
using_cmap(l, int, clist_a, c_default_equals, c_default_hash, clist_a_del, c_no_clone);
using_cmap_strkey(s, cmap_l, cmap_l_del, c_no_clone);
diff --git a/examples/demos.c b/examples/demos.c
index 553d6d88..eca5609f 100644
--- a/examples/demos.c
+++ b/examples/demos.c
@@ -175,7 +175,7 @@ void mapdemo3()
}
-using_carray(f, float);
+using_carray3(f, float);
void arraydemo1()
{