summaryrefslogtreecommitdiffstats
path: root/python_modules/ptypes.py
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-05 12:09:08 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-05 12:09:08 +0200
commitd7164a0669b0f8c6531b1728f4fbda32647942ba (patch)
tree00882c3b70cfbbf970c476d0930b8a4674477de1 /python_modules/ptypes.py
parent4a60f1822a356e4e1e2d7ecd2d18f4e3fce48f85 (diff)
downloadspice-d7164a0669b0f8c6531b1728f4fbda32647942ba.tar.gz
spice-d7164a0669b0f8c6531b1728f4fbda32647942ba.tar.xz
spice-d7164a0669b0f8c6531b1728f4fbda32647942ba.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 cc74b72c..2c0dd880 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):