[Spice-devel] [PATCH 08/33] codegen: Remove old ptr32 attribute
Frediano Ziglio
fziglio at redhat.com
Wed Jul 1 10:10:00 PDT 2015
This attribute is not use in code.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
python_modules/ptypes.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py
index 3a307ed..f94fd24 100644
--- a/python_modules/ptypes.py
+++ b/python_modules/ptypes.py
@@ -105,8 +105,6 @@ valid_attributes={
# for a switch this indicate that on network
# will occupy always same size (maximum size required for all members)
'fixedsize',
- # use 32 bit pointer
- 'ptr32',
}
attributes_with_arguments={
@@ -613,8 +611,6 @@ class Member(Containee):
self.container = container
self.member_type = self.member_type.resolve()
self.member_type.register()
- if self.has_attr("ptr32") and self.member_type.is_pointer():
- self.member_type.set_ptr_size(4)
for i in propagated_attributes:
if self.has_attr(i):
self.member_type.attributes[i] = self.attributes[i]
--
2.1.0
More information about the Spice-devel
mailing list