diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2015-07-21 17:45:38 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-23 11:22:11 +0200 |
commit | f0f578abeea644a8a2ccc9522b0952eab076e2ed (patch) | |
tree | bb88060a86fab6b40b21bf9a4a1e2318f93f1277 /python_modules | |
parent | eff8b1a0e46bc93df2e2aeec3e616eb4d83502f1 (diff) |
codegen: Remove old ptr32 attribute
This attribute is not used in code.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'python_modules')
-rw-r--r-- | python_modules/ptypes.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py index 5cd7759..efbe9b6 100644 --- a/python_modules/ptypes.py +++ b/python_modules/ptypes.py @@ -108,8 +108,6 @@ valid_attributes={ # for a switch this indicates that on network # it will occupy always the same size (maximum size required for all members) 'fixedsize', - # use 32 bit pointer - 'ptr32', } attributes_with_arguments={ @@ -616,8 +614,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] |