aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Ponomarenko <aponomarenko@rosalab.ru>2015-08-26 20:12:54 +0300
committerAndrey Ponomarenko <aponomarenko@rosalab.ru>2015-08-26 20:12:54 +0300
commita3cc47a09da1036edf2a82cfcf42053514dc4d0b (patch)
tree526e5b79262548c23219971e433b8d57d424f9dd
parent0f295ff85ace05a5b244c68f32d625bd21bfe04b (diff)
downloadabi-dumper-a3cc47a09da1036edf2a82cfcf42053514dc4d0b.tar.gz
Corrected names of double FuncPtr and MethodPtr types.
-rwxr-xr-xabi-dumper.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/abi-dumper.pl b/abi-dumper.pl
index 385278d..291a200 100755
--- a/abi-dumper.pl
+++ b/abi-dumper.pl
@@ -2991,6 +2991,19 @@ sub getTypeInfo($)
$TInfo{"Size"} = $SYS_WORD;
}
}
+ elsif($TInfo{"Type"} eq "Pointer")
+ {
+ if(my $BType = $TInfo{"BaseType"})
+ {
+ if($TypeInfo{$BType}{"Type"}=~/MethodPtr|FuncPtr/)
+ { # void(GTestSuite::**)()
+ # int(**)(...)
+ if($TInfo{"Name"}=~s/\*\Z//) {
+ $TInfo{"Name"}=~s/\*(\))/\*\*$1/;
+ }
+ }
+ }
+ }
}
if(my $Bid = $TInfo{"BaseType"})