mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:33:32 +03:00
hash: provide asserts to verify API use
- converted the Curl_hash_count() macro to a function - Discourage accessing struct fields directly - Document the internal API in HASH.md Closes #14503
This commit is contained in:
parent
41a01033b3
commit
c0233a35da
9 changed files with 246 additions and 15 deletions
|
|
@ -200,7 +200,6 @@ UNITTEST_START
|
|||
|
||||
curl_easy_cleanup(easy);
|
||||
easy = NULL;
|
||||
Curl_hash_destroy(&multi->hostcache);
|
||||
curl_multi_cleanup(multi);
|
||||
multi = NULL;
|
||||
curl_slist_free_all(list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue