mirror of
https://github.com/json-c/json-c.git
synced 2026-03-26 16:39:06 +08:00
The split of json_object into type-specific sub-structures is now functionally complete.
Remove all of the temporary defines, structures, old compat fuctions, extra fields, etc... that were needed during the conversion to a split set of json_object_* structures.
This commit is contained in:
@@ -490,9 +490,8 @@ JSON_EXPORT void json_object_object_del(struct json_object *obj, const char *key
|
||||
* @param obj the json_object instance
|
||||
* @param iter the object iterator, use type json_object_iter
|
||||
*/
|
||||
// XAX temporary workaround during code conversion:
|
||||
#define json_object_object_foreachC(obj, iter) \
|
||||
for (iter.entry = json_object_get_object(PUBLIC(obj))->head; \
|
||||
for (iter.entry = json_object_get_object(obj)->head; \
|
||||
(iter.entry ? (iter.key = (char *)lh_entry_k(iter.entry), \
|
||||
iter.val = (struct json_object *)lh_entry_v(iter.entry), iter.entry) \
|
||||
: 0); \
|
||||
|
||||
Reference in New Issue
Block a user