mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
WinRT: reduced the size of SDL_winrt_main.cpp by a little bit
This commit is contained in:
parent
0022dbf261
commit
fff83d8e52
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user