src/main/macos/exports/gendef.pl
changeset 1516 4d241ea8a1cd
parent 1427 5f5a74d29d18
child 1529 84cecd0b64b4
equal deleted inserted replaced
1515:1e18097b1d7a 1516:4d241ea8a1cd
     1 #!/usr/bin/perl
     1 #!/usr/bin/perl
     2 #
     2 #
     3 # Program to take a set of header files and generate DLL export definitions
     3 # Program to take a set of header files and generate DLL export definitions
     4 
     4 
     5 # Special exports to ignore for this platform
     5 # Special exports to ignore for this platform
     6 $exclude{"SDL_CreateThread_Core"} = 1;
       
     7 
     6 
     8 while ( ($file = shift(@ARGV)) ) {
     7 while ( ($file = shift(@ARGV)) ) {
     9 	if ( ! defined(open(FILE, $file)) ) {
     8 	if ( ! defined(open(FILE, $file)) ) {
    10 		warn "Couldn't open $file: $!\n";
     9 		warn "Couldn't open $file: $!\n";
    11 		next;
    10 		next;
    33 print "\tSDL_strrev\n";
    32 print "\tSDL_strrev\n";
    34 print "\tSDL_strupr\n";
    33 print "\tSDL_strupr\n";
    35 print "\tSDL_strlwr\n";
    34 print "\tSDL_strlwr\n";
    36 print "\tSDL_ltoa\n";
    35 print "\tSDL_ltoa\n";
    37 print "\tSDL_ultoa\n";
    36 print "\tSDL_ultoa\n";
       
    37 print "\tSDL_strcasecmp\n";
       
    38 print "\tSDL_strncasecmp\n";
    38 print "\tSDL_snprintf\n";
    39 print "\tSDL_snprintf\n";
    39 print "\tSDL_vsnprintf\n";
    40 print "\tSDL_vsnprintf\n";
       
    41 print "\tSDL_iconv_string\n";
    40 print "\tSDL_InitQuickDraw\n";
    42 print "\tSDL_InitQuickDraw\n";