summaryrefslogtreecommitdiffhomepage
path: root/examples/complex.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-07-16 17:17:24 +0200
committerTyge Løvset <[email protected]>2020-07-16 17:17:24 +0200
commit5f004f4f91b4a383005c763ea925cf655ba2d7c2 (patch)
tree9a4d9162edc37f897f07a82ee15f9adf90a39827 /examples/complex.c
parent1d8b2adc084d684b90ec525e342b7a3a159a0474 (diff)
downloadSTC-modified-5f004f4f91b4a383005c763ea925cf655ba2d7c2.tar.gz
STC-modified-5f004f4f91b4a383005c763ea925cf655ba2d7c2.zip
CHanged API: Renamed CString to CStr and CVector to CVec. All function names are changed likewise.
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 8c44f6cc..3ecf6a1f 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, CArray2_f, carray2_f_destroy, c_noCompare);
declare_CHash(il, int, CList_t2, clist_t2_destroy);
-declare_CHash_string(sm, CHash_il, chash_il_destroy);
+declare_CHash_str(sm, CHash_il, chash_il_destroy);
int main() {
int xdim = 4, ydim = 6;