summaryrefslogtreecommitdiffstats
path: root/python_modules/ptypes.py
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-05 12:13:45 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:47 +0100
commit32481bf381f97cf99bee6df36afadbb213b61e3f (patch)
tree159cfe672fc024401fc27311e44089d496a74916 /python_modules/ptypes.py
parentf22381505d9ecc9fa6b5477d0a695b43957e93bb (diff)
downloadspice-protocol-32481bf381f97cf99bee6df36afadbb213b61e3f.tar.gz
spice-protocol-32481bf381f97cf99bee6df36afadbb213b61e3f.tar.xz
spice-protocol-32481bf381f97cf99bee6df36afadbb213b61e3f.zip
marshaller: Make @nonnull a propagated attribute
This cleans up some stuff
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 2c0dd88..31ae79d 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", "c_ptr"]
+propagated_attributes=["ptr_array", "c_ptr", "nonnull"]
class Type:
def __init__(self):