src/main/macosx/exports/gendef.pl
changeset 791 ab0d977f91f8
parent 685 cc47d783f096
child 825 618fcc5861c8
equal deleted inserted replaced
790:d39b74b8583c 791:ab0d977f91f8
     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 
       
     5 # Export Objective-C classes for Cocoa integration support
       
     6 print "\t.objc_class_name_SDL_QuartzWindow\n";
       
     7 print "\t.objc_class_name_SDL_QuartzWindowView\n";
       
     8 print "\t.objc_class_name_SDL_QuartzWindowDelegate\n";
       
     9 
     4 
    10 while ( ($file = shift(@ARGV)) ) {
     5 while ( ($file = shift(@ARGV)) ) {
    11 	if ( ! defined(open(FILE, $file)) ) {
     6 	if ( ! defined(open(FILE, $file)) ) {
    12 		warn "Couldn't open $file: $!\n";
     7 		warn "Couldn't open $file: $!\n";
    13 		next;
     8 		next;