Add linkhash accessor functions (lh_table_head(), lh_entry_next(), etc...) to pave the way for making the lh_table and lh_entry structure opaque in the future.

Update the docs to mark all members of those structures deprecated, and
 suggest what to use instead.
This commit is contained in:
Eric Haszlakiewicz
2021-11-30 03:27:55 +00:00
parent 320548caf6
commit 2d2382d709
6 changed files with 107 additions and 25 deletions

View File

@@ -4,9 +4,11 @@ Next Release 0.16
Significant changes and bug fixes
---------------------------------
* Introduction of constant JSON_C_OBJECT_ADD_CONSTANT_KEY
* Introduce constant JSON_C_OBJECT_ADD_CONSTANT_KEY
as a replacement of JSON_C_OBJECT_KEY_IS_CONSTANT,
JSON_C_OBJECT_KEY_IS_CONSTANT becoming legacy.
* Direct access to lh_table and lh_entry structure members is deprecated.
Use access functions instead, lh_table_head(), lh_entry_next(), etc...
* Drop REFCOUNT_DEBUG code.
***