summaryrefslogtreecommitdiffstats
path: root/python_modules/ptypes.py
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-05 12:09:08 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:47 +0100
commitf22381505d9ecc9fa6b5477d0a695b43957e93bb (patch)
tree344b1e30feaf4614478ec5f05baa0f3f2a69f852 /python_modules/ptypes.py
parentfefc89c6c45a5371be611c83e570d9f3fbc7fe75 (diff)
downloadspice-protocol-f22381505d9ecc9fa6b5477d0a695b43957e93bb.tar.gz
spice-protocol-f22381505d9ecc9fa6b5477d0a695b43957e93bb.tar.xz
spice-protocol-f22381505d9ecc9fa6b5477d0a695b43957e93bb.zip
marshaller: Make @c_ptr a propagated attribute
This simplifies some code
Diffstat (limited to 'python_modules/ptypes.py')
-rw-r--r--python_modules/ptypes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py
index cc74b72..2c0dd88 100644
--- a/python_modules/ptypes.py
+++ b/python_modules/ptypes.py
@@ -60,7 +60,7 @@ class FixedSize:
# only to attributes that affect pointer or array attributes, as these
# are member local types, unlike e.g. a Struct that may be used by
# other members
-propagated_attributes=["ptr_array"]
+propagated_attributes=["ptr_array", "c_ptr"]
class Type:
def __init__(self):