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

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

 



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 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@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]