[Spice-commits] python_modules/ptypes.py

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 10 12:02:05 UTC 2019


 python_modules/ptypes.py |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 99f6aa0028327a4cf0e4e3443d136f9b488760dd
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu Oct 10 12:37:55 2019 +0100

    codegen: Document "chunk" attribute
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

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


More information about the Spice-commits mailing list