Bindings: skip DEPRECATED variables
* bindings/bindings.py: when parsing headers, skipped deprecated struct fields.
This commit is contained in:
parent
c89c77c924
commit
84e5c3b66b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue