WinRT: reduced the size of SDL_winrt_main.cpp by a little bit
authorDavid Ludwig <dludwig@pobox.com>
Mon, 16 Sep 2013 21:09:58 -0400
changeset 8528 38d0b62a215f
parent 8527 e3807733fad5
child 8529 89e08d94b361
WinRT: reduced the size of SDL_winrt_main.cpp by a little bit
src/main/winrt/SDL_winrt_main.cpp
--- a/src/main/winrt/SDL_winrt_main.cpp	Mon Sep 16 11:02:18 2013 -0400
+++ b/src/main/winrt/SDL_winrt_main.cpp	Mon Sep 16 21:09:58 2013 -0400
@@ -4,8 +4,7 @@
 /* The app's C-style main will be passed into SDL.dll as a function
    pointer, and called at the appropriate time.
 */
-typedef int (*SDLmain_MainFunction)(int, char **);
-extern __declspec(dllimport) int SDL_WinRT_RunApplication(SDLmain_MainFunction mainFunction);
+extern __declspec(dllimport) int SDL_WinRT_RunApplication(int (*)(int, char **));
 extern "C" int SDL_main(int, char **);
 
 /* Prevent MSVC++ from warning about threading models when defining our