[Spice-devel] [PATCH spice-common] codegen: Document "chunk" attribute

Victor Toso victortoso at redhat.com
Thu Oct 10 11:57:03 UTC 2019


On Thu, Oct 10, 2019 at 12:38:33PM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>

Thanks,
> ---
>  python_modules/ptypes.py | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py
> index 796a436..5aa6e18 100644
> --- a/python_modules/ptypes.py
> +++ b/python_modules/ptypes.py
> @@ -60,6 +60,9 @@ valid_attributes=set([
>      'outvar',
>      # C structure has an anonymous member (used in switch)
>      'anon',
> +    # the C structure contains a pointer to a SpiceChunks structure.
> +    # The SpiceChunks structure is allocated inside the demarshalled
> +    # buffer and data will point to original message.
>      'chunk',
>      # this channel is contained in an #ifdef section
>      # the argument specifies the preprocessor define to check
> -- 
> 2.21.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20191010/1d695f45/attachment.sig>


More information about the Spice-devel mailing list