diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-08-05 14:53:07 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-08-05 14:53:07 +0000 |
| commit | 1fc655ffc3e9e6f9af0f18991a20d5dc0c1aff0e (patch) | |
| tree | f94fdcb72f34054c9e44668142d611091838cc40 | |
| parent | 9c1044268e8810fcad6d3d4f250a70f7dcc2887a (diff) | |
add TODOs for parsing OFTYPE in other positions
| -rw-r--r-- | bindings/bindings.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bindings/bindings.py b/bindings/bindings.py index 10cdfa0f..458c5ff3 100644 --- a/bindings/bindings.py +++ b/bindings/bindings.py @@ -366,6 +366,7 @@ def parse_header(header_file): elif in_struct_private: pass else: + # TODO: Add parsing of OFTYPE member_match = re.match('\s+(\w+)\s+(\*?\w+)', line) if member_match: member_type = member_match.group(1) @@ -414,6 +415,7 @@ def parse_header(header_file): if arg == 'void' or arg == '': continue m = re.match(r'((const\s+)?\w+\*?)\s+(\*?\w+)', arg) + # TODO: Add parsing of OFTYPE if m: f.args.append(list(normalise_var(m.group(1), m.group(3))) + [{}]) else: |
