diff options
author | Andrey Ponomarenko <andrewponomarenko@yandex.ru> | 2016-07-25 17:23:00 +0300 |
---|---|---|
committer | Andrey Ponomarenko <andrewponomarenko@yandex.ru> | 2016-07-25 17:23:00 +0300 |
commit | fef4a9a033d243d5f9e44d3b28612b4f54c27ee2 (patch) | |
tree | 3a9d9e97fedeede33ab673dc770ae8a0d06101b7 | |
parent | a7b9c22024eb25dc2d5a758126bea1c5a965fee9 (diff) | |
download | abi-dumper-fef4a9a033d243d5f9e44d3b28612b4f54c27ee2.tar.gz |
Fixed typedef to void type.
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | abi-dumper.pl | 19 |
2 files changed, 11 insertions, 12 deletions
@@ -33,10 +33,10 @@ ABI CHECK: FILTER PUBLIC ABI: abi-dumper libTest.so -public-headers PATH - PATH — path to install tree of a library + PATH — path to the install tree of a library COMPATIBILITY: - ABI Compliance Checker >= 1.99.8 (https://github.com/lvc/abi-compliance-checker) + ABI Compliance Checker >= 1.99.14 (https://github.com/lvc/abi-compliance-checker) ADV. USAGE: For advanced usage, see output of --help option. diff --git a/abi-dumper.pl b/abi-dumper.pl index 95f9d3e..4447613 100644 --- a/abi-dumper.pl +++ b/abi-dumper.pl @@ -3076,6 +3076,7 @@ sub getTypeInfo($) } } } + if($RealType eq "Class") { $TInfo{"Copied"} = 1; # will be changed in getSymbolInfo() } @@ -3346,29 +3347,27 @@ sub getTypeInfo($) } } - if($TInfo{"Type"} eq "Pointer") + if(not $TInfo{"BaseType"}) { - if(not $TInfo{"BaseType"}) + if($TInfo{"Type"} eq "Pointer") { $TInfo{"Name"} = "void*"; $TInfo{"BaseType"} = "1"; } - } - if($TInfo{"Type"} eq "Const") - { - if(not $TInfo{"BaseType"}) + elsif($TInfo{"Type"} eq "Const") { $TInfo{"Name"} = "const void"; $TInfo{"BaseType"} = "1"; } - } - if($TInfo{"Type"} eq "Volatile") - { - if(not $TInfo{"BaseType"}) + elsif($TInfo{"Type"} eq "Volatile") { $TInfo{"Name"} = "volatile void"; $TInfo{"BaseType"} = "1"; } + elsif($TInfo{"Type"} eq "Typedef") + { + $TInfo{"BaseType"} = "1"; + } } if(not $TInfo{"Name"} |