Explicitly specify the SDL API calling convention (C by default)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40338
This commit is contained in:
parent
16d7ff7c9c
commit
808d714de4
24 changed files with 200 additions and 195 deletions
|
@ -10,9 +10,7 @@ while ( ($file = shift(@ARGV)) ) {
|
|||
$printed_header = 0;
|
||||
$file =~ s,.*/,,;
|
||||
while (<FILE>) {
|
||||
if ( /DECLSPEC.*\s\**([^\s\(]+)\(/ ) {
|
||||
print "\t$1\n";
|
||||
} elsif ( /DECLSPEC.*\s\**([^\s\(]+)$/ ) {
|
||||
if ( /DECLSPEC.*SDLCALL ([^\s\(]+)/ ) {
|
||||
print "\t$1\n";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue