Signed-off-by: Frediano Ziglio <[email protected]>
---
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel