diff options
| author | Damien Laniel <dlaniel@entrouvert.com> | 2009-02-05 16:56:29 +0000 |
|---|---|---|
| committer | Damien Laniel <dlaniel@entrouvert.com> | 2009-02-05 16:56:29 +0000 |
| commit | 88f6faaf5d9f8b3541df3c4a855b76fdf1cdb59d (patch) | |
| tree | 0c183438c5dda91fe7f0a99ac0b90f63dc107c5c /bindings | |
| parent | 4765d4ff18debb1e556adaa27d8eaf267f0052f4 (diff) | |
| download | lasso-88f6faaf5d9f8b3541df3c4a855b76fdf1cdb59d.tar.gz lasso-88f6faaf5d9f8b3541df3c4a855b76fdf1cdb59d.tar.xz lasso-88f6faaf5d9f8b3541df3c4a855b76fdf1cdb59d.zip | |
fixed parsing of OFTYPE
Diffstat (limited to 'bindings')
| -rw-r--r-- | bindings/bindings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/bindings.py b/bindings/bindings.py index 0db922bf..e2cdf2a1 100644 --- a/bindings/bindings.py +++ b/bindings/bindings.py @@ -390,7 +390,7 @@ def parse_header(header_file): i += 1 line = line[:-1] + lines[i].lstrip() - m = re.match(r'LASSO_EXPORT\s+((?:const |)[\w]+\s*\*?)\s+(OFTYPE\(.*?\)\s+)?(\*?\w+)\s*\((.*?)\)', line) + m = re.match(r'LASSO_EXPORT\s+((?:const |)[\w]+\s*\*?)\s+(OFTYPE\(.*?\)\s*)?(\*?\w+)\s*\((.*?)\)', line) if m and not m.group(3).endswith('_get_type'): return_type, oftype, function_name, args = m.groups() return_type = return_type.strip() |
