diff src/main/macos/exports/gendef.pl @ 1317:6c7b69218276

Updated exports
author Sam Lantinga <slouken@libsdl.org>
date Wed, 01 Feb 2006 09:01:12 +0000
parents 02759105b989
children 7a610f25c12f
line wrap: on
line diff
--- a/src/main/macos/exports/gendef.pl	Wed Feb 01 08:24:32 2006 +0000
+++ b/src/main/macos/exports/gendef.pl	Wed Feb 01 09:01:12 2006 +0000
@@ -2,6 +2,9 @@
 #
 # Program to take a set of header files and generate DLL export definitions
 
+# Special exports to ignore for this platform
+$exclude{"SDL_CreateThread_Core"} = 1;
+
 while ( ($file = shift(@ARGV)) ) {
 	if ( ! defined(open(FILE, $file)) ) {
 		warn "Couldn't open $file: $!\n";
@@ -11,10 +14,13 @@
 	$file =~ s,.*/,,;
 	while (<FILE>) {
 		if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
-			print "\t$1\n";
+			if ( not $exclude{$1} ) {
+				print "\t$1\n";
+			}
 		}
 	}
 	close(FILE);
 }
-# Special exports not in the header files
+
+# Special exports to include for this platform
 print "\tSDL_InitQuickDraw\n";