From 89c88324212b72d01722609b58a7f19f6d494482 Mon Sep 17 00:00:00 2001 From: Tyge Løvset <60263450+tylo-work@users.noreply.github.com> Date: Sat, 14 Mar 2020 00:12:01 +0100 Subject: Update EXAMPLE.md --- EXAMPLE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EXAMPLE.md b/EXAMPLE.md index 36156567..93a07cf2 100644 --- a/EXAMPLE.md +++ b/EXAMPLE.md @@ -70,5 +70,6 @@ int main() cmap_mm_destroy(&m6); } ``` -It will automatically use key_hash() as defined above for the hash value calculations, and the key_compare() for equality checks. The cmap_mm_destroy() function will free both first, second CString's and value CString for each item in the map, in addition to the cmap hashtable itself. +It will automatically use key_hash() as defined above for the hash value calculations, and the key_compare() for equality checks. +The cmap_mm_destroy() function will free all first, second CString's, and the CString value for each item in the map, in addition to the CMap hash table itself. -- cgit v1.2.3