This repository has been archived by the owner. It is now read-only.
Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WinRT: pseudo-implemented SDLmain for WinRT. It has to be compiled di…
…rectly into apps, for now.
- Loading branch information
Showing with 14 additions and 0 deletions.
|@@ -0,0 +1,14 @@|
|// 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 "C" int SDL_main(int, char **);|