Mercurial > sdl-ios-xcode
comparison src/main/macosx/exports/gendef.pl @ 791:ab0d977f91f8
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 29 Jan 2004 04:35:51 +0000 |
parents | cc47d783f096 |
children | 618fcc5861c8 |
comparison
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; |