Bindings: skip DEPRECATED variables

* bindings/bindings.py: when parsing headers, skipped deprecated struct
   fields.
This commit is contained in:
Benjamin Dauvergne 2009-03-27 15:06:24 +00:00
parent c89c77c924
commit 84e5c3b66b
1 changed files with 2 additions and 0 deletions

View File

@ -367,6 +367,8 @@ def parse_header(header_file):
in_struct_private = True
elif in_struct_private:
pass
elif 'DEPRECATED' in line:
pass
else:
# TODO: Add parsing of OFTYPE
member_match = re.match('\s+(\w+)\s+(\*?\w+)', line)