3
# Program to take a set of header files and generate DLL export definitions
5
while ( ($file = shift(@ARGV)) ) {
6
if ( ! defined(open(FILE, $file)) ) {
7
warn "Couldn't open $file: $!\n";
13
if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
19
# Special exports not in the header files
20
print "\tSDL_RegisterApp\n";
21
print "\tSDL_SetModuleHandle\n";