Skip to content

Commit

Permalink
RedfishClientPkg/jansson: Define json_object_del
Browse files Browse the repository at this point in the history
Signed-off-by: Abner Chang <abner.chang@amd.com>
Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Reviewed-by: Nickle Wang <nicklew@nvidia.com>
  • Loading branch information
changab committed Jan 16, 2024
1 parent b7aa1b2 commit feb9738
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RedfishClientPkg/PrivateInclude/jansson.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ typedef EDKII_JSON_TYPE json_type;
#define json_array_append_new(json_t_array, json_t) JsonArrayAppendValue(json_t_array, json_t)
#define json_object_set_new(json_t, key, value) JsonObjectSetValue(json_t, key, value)
#define json_decref(json_t) JsonDecreaseReference(json_t)
#define json_object_del(json_t, key) JsonObjectDelete(json_t, key)
#define json_integer_value(json_t) JsonValueGetInteger(json_t)
#define json_is_object(json_t) JsonValueIsObject(json_t)
#define json_is_array(json_t) JsonValueIsArray(json_t)
Expand Down

0 comments on commit feb9738

Please sign in to comment.