diff options
-rw-r--r-- | Tools/bgen/bgen/scantools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/bgen/bgen/scantools.py b/Tools/bgen/bgen/scantools.py index 0619475..7ce2878 100644 --- a/Tools/bgen/bgen/scantools.py +++ b/Tools/bgen/bgen/scantools.py @@ -585,8 +585,8 @@ class Scanner_OSX(Scanner): """Scanner for modern (post UH3.3) Universal Headers """ def initpatterns(self): Scanner.initpatterns(self) - self.head_pat = "^EXTERN_API_C" - self.type_pat = "EXTERN_API_C" + \ + self.head_pat = "^EXTERN_API\(_C\)?" + self.type_pat = "EXTERN_API\(_C\)?" + \ "[ \t\n]*([ \t\n]*" + \ "\(<type>[a-zA-Z0-9_* \t]*[a-zA-Z0-9_*]\)" + \ "[ \t\n]*)[ \t\n]*" |