Mercurial > sdl-ios-xcode
diff src/main/macos/exports/gendef.pl @ 337:9154ec9ca3d2
Explicitly specify the SDL API calling convention (C by default)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 11 Apr 2002 14:35:16 +0000 |
parents | 74212992fb08 |
children | 05b97424225f |
line wrap: on
line diff
--- a/src/main/macos/exports/gendef.pl Wed Apr 10 17:12:32 2002 +0000 +++ b/src/main/macos/exports/gendef.pl Thu Apr 11 14:35:16 2002 +0000 @@ -10,9 +10,7 @@ $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"; } }