diff options
| author | Tyge Løvset <[email protected]> | 2020-03-14 00:12:01 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-14 00:12:01 +0100 |
| commit | 89c88324212b72d01722609b58a7f19f6d494482 (patch) | |
| tree | bd3ed8e9930044e98848f9568c04a6312672a54a | |
| parent | 22f2a99f62c8d79e88bc7c3141a09e89668b3383 (diff) | |
| download | STC-modified-89c88324212b72d01722609b58a7f19f6d494482.tar.gz STC-modified-89c88324212b72d01722609b58a7f19f6d494482.zip | |
Update EXAMPLE.md
| -rw-r--r-- | EXAMPLE.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |
