|
@@ -2190,7 +2190,9 @@ sub dump_typedef($$) {
|
|
$x =~ s@/\*.*?\*/@@gos; # strip comments.
|
|
$x =~ s@/\*.*?\*/@@gos; # strip comments.
|
|
|
|
|
|
# Parse function prototypes
|
|
# Parse function prototypes
|
|
- if ($x =~ /typedef\s+(\w+)\s*\(\*\s*(\w\S+)\s*\)\s*\((.*)\);/) {
|
|
|
|
|
|
+ if ($x =~ /typedef\s+(\w+)\s*\(\*\s*(\w\S+)\s*\)\s*\((.*)\);/ ||
|
|
|
|
+ $x =~ /typedef\s+(\w+)\s*(\w\S+)\s*\s*\((.*)\);/) {
|
|
|
|
+
|
|
# Function typedefs
|
|
# Function typedefs
|
|
$return_type = $1;
|
|
$return_type = $1;
|
|
$declaration_name = $2;
|
|
$declaration_name = $2;
|