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:
Daniel Stenberg 2024-08-12 14:06:12 +02:00
parent 41a01033b3
commit c0233a35da
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 246 additions and 15 deletions

View file

@ -70,6 +70,7 @@ EXTRA_DIST = \
FAQ \
FEATURES.md \
GOVERNANCE.md \
HASH.md \
HELP-US.md \
HISTORY.md \
HSTS.md \