Skip to content

Commit

Permalink
WinRT: reduced the size of SDL_winrt_main.cpp by a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Sep 17, 2013
1 parent 0022dbf commit fff83d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/winrt/SDL_winrt_main.cpp
Expand Up @@ -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
Expand Down

0 comments on commit fff83d8

Please sign in to comment.