Updated exports
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401320
This commit is contained in:
parent
f96c07e0f4
commit
a3a33b0acc
11 changed files with 51 additions and 26 deletions
|
@ -11,11 +11,11 @@ HEADERS = \
|
||||||
../../../../include/SDL_endian.h \
|
../../../../include/SDL_endian.h \
|
||||||
../../../../include/SDL_error.h \
|
../../../../include/SDL_error.h \
|
||||||
../../../../include/SDL_events.h \
|
../../../../include/SDL_events.h \
|
||||||
|
../../../../include/SDL_getenv.h \
|
||||||
../../../../include/SDL_joystick.h \
|
../../../../include/SDL_joystick.h \
|
||||||
../../../../include/SDL_keyboard.h \
|
../../../../include/SDL_keyboard.h \
|
||||||
../../../../include/SDL_keysym.h \
|
../../../../include/SDL_keysym.h \
|
||||||
../../../../include/SDL_loadso.h \
|
../../../../include/SDL_loadso.h \
|
||||||
../../../../include/SDL_main.h \
|
|
||||||
../../../../include/SDL_mouse.h \
|
../../../../include/SDL_mouse.h \
|
||||||
../../../../include/SDL_mutex.h \
|
../../../../include/SDL_mutex.h \
|
||||||
../../../../include/SDL_quit.h \
|
../../../../include/SDL_quit.h \
|
||||||
|
@ -27,9 +27,10 @@ HEADERS = \
|
||||||
../../../../include/SDL_version.h \
|
../../../../include/SDL_version.h \
|
||||||
../../../../include/SDL_video.h
|
../../../../include/SDL_video.h
|
||||||
|
|
||||||
|
|
||||||
all: $(EXPORTS)
|
all: $(EXPORTS)
|
||||||
|
|
||||||
$(EXPORTS): $(HEADERS)
|
$(EXPORTS): Makefile genexp.pl $(HEADERS)
|
||||||
perl genexp.pl $(HEADERS) >$@ || rm $@
|
perl genexp.pl $(HEADERS) >$@ || rm $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -86,9 +86,6 @@ _SDL_GetKeyName
|
||||||
_SDL_LoadObject
|
_SDL_LoadObject
|
||||||
_SDL_LoadFunction
|
_SDL_LoadFunction
|
||||||
_SDL_UnloadObject
|
_SDL_UnloadObject
|
||||||
_SDL_SetModuleHandle
|
|
||||||
_SDL_RegisterApp
|
|
||||||
_SDL_InitQuickDraw
|
|
||||||
_SDL_GetMouseState
|
_SDL_GetMouseState
|
||||||
_SDL_GetRelativeMouseState
|
_SDL_GetRelativeMouseState
|
||||||
_SDL_WarpMouse
|
_SDL_WarpMouse
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
#
|
#
|
||||||
# Program to take a set of header files and generate MWCC export definitions
|
# Program to take a set of header files and generate MWCC export definitions
|
||||||
|
|
||||||
|
# Special exports to ignore for this platform
|
||||||
|
$exclude{"SDL_putenv"} = 1;
|
||||||
|
$exclude{"SDL_getenv"} = 1;
|
||||||
|
$exclude{"SDL_CreateThread_Core"} = 1;
|
||||||
|
|
||||||
while ( ($file = shift(@ARGV)) ) {
|
while ( ($file = shift(@ARGV)) ) {
|
||||||
if ( ! defined(open(FILE, $file)) ) {
|
if ( ! defined(open(FILE, $file)) ) {
|
||||||
warn "Couldn't open $file: $!\n";
|
warn "Couldn't open $file: $!\n";
|
||||||
|
@ -10,9 +15,12 @@ while ( ($file = shift(@ARGV)) ) {
|
||||||
$file =~ s,.*/,,;
|
$file =~ s,.*/,,;
|
||||||
while (<FILE>) {
|
while (<FILE>) {
|
||||||
if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
|
if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
|
||||||
print "_$1\n";
|
if ( not $exclude{$1} ) {
|
||||||
|
print "_$1\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(FILE);
|
close(FILE);
|
||||||
}
|
}
|
||||||
# Special exports not public in the header files
|
|
||||||
|
# Special exports to include for this platform
|
||||||
|
|
|
@ -30,7 +30,7 @@ HEADERS = \
|
||||||
|
|
||||||
all: $(EXPORTS)
|
all: $(EXPORTS)
|
||||||
|
|
||||||
$(EXPORTS): $(HEADERS)
|
$(EXPORTS): Makefile gendef.pl $(HEADERS)
|
||||||
perl gendef.pl $(HEADERS) >$@ || rm $@
|
perl gendef.pl $(HEADERS) >$@ || rm $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
#
|
#
|
||||||
# Program to take a set of header files and generate DLL export definitions
|
# 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)) ) {
|
while ( ($file = shift(@ARGV)) ) {
|
||||||
if ( ! defined(open(FILE, $file)) ) {
|
if ( ! defined(open(FILE, $file)) ) {
|
||||||
warn "Couldn't open $file: $!\n";
|
warn "Couldn't open $file: $!\n";
|
||||||
|
@ -11,10 +14,13 @@ while ( ($file = shift(@ARGV)) ) {
|
||||||
$file =~ s,.*/,,;
|
$file =~ s,.*/,,;
|
||||||
while (<FILE>) {
|
while (<FILE>) {
|
||||||
if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
|
if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
|
||||||
print "\t$1\n";
|
if ( not $exclude{$1} ) {
|
||||||
|
print "\t$1\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(FILE);
|
close(FILE);
|
||||||
}
|
}
|
||||||
# Special exports not in the header files
|
|
||||||
|
# Special exports to include for this platform
|
||||||
print "\tSDL_InitQuickDraw\n";
|
print "\tSDL_InitQuickDraw\n";
|
||||||
|
|
|
@ -11,6 +11,7 @@ HEADERS = \
|
||||||
../../../../include/SDL_endian.h \
|
../../../../include/SDL_endian.h \
|
||||||
../../../../include/SDL_error.h \
|
../../../../include/SDL_error.h \
|
||||||
../../../../include/SDL_events.h \
|
../../../../include/SDL_events.h \
|
||||||
|
../../../../include/SDL_getenv.h \
|
||||||
../../../../include/SDL_joystick.h \
|
../../../../include/SDL_joystick.h \
|
||||||
../../../../include/SDL_keyboard.h \
|
../../../../include/SDL_keyboard.h \
|
||||||
../../../../include/SDL_keysym.h \
|
../../../../include/SDL_keysym.h \
|
||||||
|
@ -29,7 +30,7 @@ HEADERS = \
|
||||||
|
|
||||||
all: $(EXPORTS)
|
all: $(EXPORTS)
|
||||||
|
|
||||||
$(EXPORTS): $(HEADERS)
|
$(EXPORTS): Makefile gendef.pl $(HEADERS)
|
||||||
perl gendef.pl $(HEADERS) >$@ || rm $@
|
perl gendef.pl $(HEADERS) >$@ || rm $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
.objc_class_name_SDL_QuartzWindow
|
|
||||||
.objc_class_name_SDL_QuartzWindowDelegate
|
|
||||||
_SDL_Init
|
_SDL_Init
|
||||||
_SDL_InitSubSystem
|
_SDL_InitSubSystem
|
||||||
_SDL_QuitSubSystem
|
_SDL_QuitSubSystem
|
||||||
|
@ -188,3 +186,5 @@
|
||||||
_SDL_WM_ToggleFullScreen
|
_SDL_WM_ToggleFullScreen
|
||||||
_SDL_WM_GrabInput
|
_SDL_WM_GrabInput
|
||||||
_SDL_SoftStretch
|
_SDL_SoftStretch
|
||||||
|
.objc_class_name_SDL_QuartzWindow
|
||||||
|
.objc_class_name_SDL_QuartzWindowDelegate
|
||||||
|
|
|
@ -2,21 +2,27 @@
|
||||||
#
|
#
|
||||||
# Program to take a set of header files and generate DLL export definitions
|
# Program to take a set of header files and generate DLL export definitions
|
||||||
|
|
||||||
# print objective-c exports
|
# Special exports to ignore for this platform
|
||||||
print "\t.objc_class_name_SDL_QuartzWindow\n";
|
$exclude{"SDL_putenv"} = 1;
|
||||||
print "\t.objc_class_name_SDL_QuartzWindowDelegate\n";
|
$exclude{"SDL_getenv"} = 1;
|
||||||
|
$exclude{"SDL_CreateThread_Core"} = 1;
|
||||||
|
|
||||||
while ( ($file = shift(@ARGV)) ) {
|
while ( ($file = shift(@ARGV)) ) {
|
||||||
if ( ! defined(open(FILE, $file)) ) {
|
if ( ! defined(open(FILE, $file)) ) {
|
||||||
warn "Couldn't open $file: $!\n";
|
warn "Couldn't open $file: $!\n";
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
$printed_header = 0;
|
|
||||||
$file =~ s,.*/,,;
|
$file =~ s,.*/,,;
|
||||||
while (<FILE>) {
|
while (<FILE>) {
|
||||||
if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
|
if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
|
||||||
print "\t_$1\n";
|
if ( not $exclude{$1} ) {
|
||||||
|
print "\t_$1\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(FILE);
|
close(FILE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Special exports to include for this platform
|
||||||
|
print "\t.objc_class_name_SDL_QuartzWindow\n";
|
||||||
|
print "\t.objc_class_name_SDL_QuartzWindowDelegate\n";
|
||||||
|
|
|
@ -11,11 +11,11 @@ HEADERS = \
|
||||||
../../../../include/SDL_endian.h \
|
../../../../include/SDL_endian.h \
|
||||||
../../../../include/SDL_error.h \
|
../../../../include/SDL_error.h \
|
||||||
../../../../include/SDL_events.h \
|
../../../../include/SDL_events.h \
|
||||||
|
../../../../include/SDL_getenv.h \
|
||||||
../../../../include/SDL_joystick.h \
|
../../../../include/SDL_joystick.h \
|
||||||
../../../../include/SDL_keyboard.h \
|
../../../../include/SDL_keyboard.h \
|
||||||
../../../../include/SDL_keysym.h \
|
../../../../include/SDL_keysym.h \
|
||||||
../../../../include/SDL_loadso.h \
|
../../../../include/SDL_loadso.h \
|
||||||
../../../../include/SDL_main.h \
|
|
||||||
../../../../include/SDL_mouse.h \
|
../../../../include/SDL_mouse.h \
|
||||||
../../../../include/SDL_mutex.h \
|
../../../../include/SDL_mutex.h \
|
||||||
../../../../include/SDL_quit.h \
|
../../../../include/SDL_quit.h \
|
||||||
|
@ -30,7 +30,7 @@ HEADERS = \
|
||||||
|
|
||||||
all: $(EXPORTS)
|
all: $(EXPORTS)
|
||||||
|
|
||||||
$(EXPORTS): $(HEADERS)
|
$(EXPORTS): Makefile gendef.pl $(HEADERS)
|
||||||
perl gendef.pl $(HEADERS) >$@ || rm $@
|
perl gendef.pl $(HEADERS) >$@ || rm $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -61,6 +61,8 @@
|
||||||
SDL_SetEventFilter
|
SDL_SetEventFilter
|
||||||
SDL_GetEventFilter
|
SDL_GetEventFilter
|
||||||
SDL_EventState
|
SDL_EventState
|
||||||
|
SDL_putenv
|
||||||
|
SDL_getenv
|
||||||
SDL_NumJoysticks
|
SDL_NumJoysticks
|
||||||
SDL_JoystickName
|
SDL_JoystickName
|
||||||
SDL_JoystickOpen
|
SDL_JoystickOpen
|
||||||
|
@ -86,9 +88,6 @@
|
||||||
SDL_LoadObject
|
SDL_LoadObject
|
||||||
SDL_LoadFunction
|
SDL_LoadFunction
|
||||||
SDL_UnloadObject
|
SDL_UnloadObject
|
||||||
SDL_SetModuleHandle
|
|
||||||
SDL_RegisterApp
|
|
||||||
SDL_InitQuickDraw
|
|
||||||
SDL_GetMouseState
|
SDL_GetMouseState
|
||||||
SDL_GetRelativeMouseState
|
SDL_GetRelativeMouseState
|
||||||
SDL_WarpMouse
|
SDL_WarpMouse
|
||||||
|
@ -191,3 +190,4 @@
|
||||||
SDL_SoftStretch
|
SDL_SoftStretch
|
||||||
SDL_RegisterApp
|
SDL_RegisterApp
|
||||||
SDL_SetModuleHandle
|
SDL_SetModuleHandle
|
||||||
|
SDL_UnregisterApp
|
||||||
|
|
|
@ -2,20 +2,26 @@
|
||||||
#
|
#
|
||||||
# Program to take a set of header files and generate DLL export definitions
|
# 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)) ) {
|
while ( ($file = shift(@ARGV)) ) {
|
||||||
if ( ! defined(open(FILE, $file)) ) {
|
if ( ! defined(open(FILE, $file)) ) {
|
||||||
warn "Couldn't open $file: $!\n";
|
warn "Couldn't open $file: $!\n";
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
$printed_header = 0;
|
|
||||||
$file =~ s,.*/,,;
|
$file =~ s,.*/,,;
|
||||||
while (<FILE>) {
|
while (<FILE>) {
|
||||||
if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
|
if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
|
||||||
print "\t$1\n";
|
if ( not $exclude{$1} ) {
|
||||||
|
print "\t$1\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(FILE);
|
close(FILE);
|
||||||
}
|
}
|
||||||
# Special exports not in the header files
|
|
||||||
|
# Special exports to include for this platform
|
||||||
print "\tSDL_RegisterApp\n";
|
print "\tSDL_RegisterApp\n";
|
||||||
print "\tSDL_SetModuleHandle\n";
|
print "\tSDL_SetModuleHandle\n";
|
||||||
|
print "\tSDL_UnregisterApp\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue