[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] ESX: Add AnyType_Serialize routine to esx_vi_types.c



2012/12/29 Ata E Husain Bohra <ata husain hotmail com>:
> Add esxVI_AnyType_Serialize routine to allow serialization
> of objects containing variables of type "AnyType". The routine
> attempts to determine the type of the object that covers:
>     boolean, long, int, string, short, byte.
>
> If variables does not fall under any above mentioned types
> then it is added as "anyType".
> ---
>  src/esx/esx_vi_types.c |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
>  src/esx/esx_vi_types.h |    3 ++-
>  2 files changed, 50 insertions(+), 1 deletion(-)

Looks good on a quick view, but I wonder what are you trying to that
requires to serialize an AnyType directly instead of the specific
types?

-- 
Matthias Bolte
http://photron.blogspot.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]