diff src/main/beos/exports/genexp.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/beos/exports/genexp.pl	Wed Apr 10 17:12:32 2002 +0000
+++ b/src/main/beos/exports/genexp.pl	Thu Apr 11 14:35:16 2002 +0000
@@ -9,9 +9,7 @@
 	}
 	$file =~ s,.*/,,;
 	while (<FILE>) {
-		if ( /DECLSPEC.*\s\**([^\s\(]+)\(/ ) {
-			print "_$1\n";
-		} elsif ( /DECLSPEC.*\s\**([^\s\(]+)$/ ) {
+		if ( /DECLSPEC.*SDLCALL ([^\s\(]+)/ ) {
 			print "_$1\n";
 		}
 	}