WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d4ce48ff30d1)

This commit is contained in:
David Ludwig
2013-08-12 22:29:55 -04:00
parent 1ad936eb29
commit f7049b93d5
66 changed files with 10152 additions and 2459 deletions

View File

@@ -0,0 +1,14 @@
//#include "pch.h"
// 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 **);
[Platform::MTAThread]
int main(Platform::Array<Platform::String^>^)
{
return SDL_WinRT_RunApplication(SDL_main);
}