diff options
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/bindings.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/bindings.py b/bindings/bindings.py index def735e7..0caf114a 100644 --- a/bindings/bindings.py +++ b/bindings/bindings.py @@ -483,6 +483,9 @@ def parse_header(header_file): pass else: # TODO: Add parsing of OFTYPE + # Transform struct to typedef + # example: "struct _LassoAssertion" -> "LassoAssertion" + line = re.sub('\s+struct _', ' ', line) member_match = re.match('\s+(\w+)\s+(\*?\w+)', line) if member_match: member_type, member_name = normalise_var(member_match.group(1), member_match.group(2)) |