Reviewed-by: Nickle Wang <nick...@nvidia.com>

Regards,
Nickle

> -----Original Message-----
> From: abner.ch...@amd.com <abner.ch...@amd.com>
> Sent: Friday, January 12, 2024 11:26 AM
> To: devel@edk2.groups.io
> Cc: Nickle Wang <nick...@nvidia.com>; Igor Kulchytskyy <ig...@ami.com>
> Subject: [edk2-redfish-client][PATCH 1/3] RedfishClientPkg/jansson: Define
> json_object_del
> 
> External email: Use caution opening links or attachments
> 
> 
> From: Abner Chang <abner.ch...@amd.com>
> 
> Signed-off-by: Abner Chang <abner.ch...@amd.com>
> Cc: Nickle Wang <nick...@nvidia.com>
> Cc: Igor Kulchytskyy <ig...@ami.com>
> ---
>  RedfishClientPkg/PrivateInclude/jansson.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/RedfishClientPkg/PrivateInclude/jansson.h
> b/RedfishClientPkg/PrivateInclude/jansson.h
> index 900c7e39c6..6b6391428f 100644
> --- a/RedfishClientPkg/PrivateInclude/jansson.h
> +++ b/RedfishClientPkg/PrivateInclude/jansson.h
> @@ -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)
> --
> 2.37.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#113861): https://edk2.groups.io/g/devel/message/113861
Mute This Topic: https://groups.io/mt/103676918/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to