summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-06-22 19:55:43 +0200
committerGitHub <[email protected]>2020-06-22 19:55:43 +0200
commit6a50c9694a115082ec8765659e55bf2229019739 (patch)
treea1623a8029a7973ab87ff4195efaa553b76d5051
parenta4738808d8527e7dc970a2610f7c0af48ca1921a (diff)
downloadSTC-modified-6a50c9694a115082ec8765659e55bf2229019739.tar.gz
STC-modified-6a50c9694a115082ec8765659e55bf2229019739.zip
Update README.md
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index bab83512..fbaa24f0 100644
--- a/README.md
+++ b/README.md
@@ -131,7 +131,7 @@ Note that *chash_sm_destroy(&theMap)* call below will also destroy all the neste
void check_destroy(float* v) {printf("destroy %g\n", *v);}
-declare_CArray(f, float, check_destroy);
+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, MAP, int, CList_t2, clist_t2_destroy);
declare_CHash_string(sm, MAP, CHash_lm, chash_lm_destroy);