Re: [PATCH spice-common 1/7] codegen: Document ptr_array attribute

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

 



Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

On Mon, Feb 18, 2019 at 04:01:23PM +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  python_modules/ptypes.py | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py
> index c548a28..3875970 100644
> --- a/python_modules/ptypes.py
> +++ b/python_modules/ptypes.py
> @@ -55,6 +55,9 @@ valid_attributes=set([
>      'nonnull',
>      # this flag member contains only a single flag
>      'unique_flag',
> +    # represent array as an array of pointers (in the C structure)
> +    # for instance a "Type name[size] @ptr_array" in the protocol
> +    # will be stored in a "Type *name[0]" field in the C structure
>      'ptr_array',
>      'outvar',
>      # C structure has an anonymous member (used in switch)
> -- 
> 2.20.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]