Staging
v0.8.1
https://github.com/python/cpython
Revision 66ff01fede0a566376d7026b48554e7d75c2300a authored by Antoine Pitrou on 06 September 2013, 19:18:25 UTC, committed by Antoine Pitrou on 06 September 2013, 19:18:25 UTC
1 parent 6703bb4
Raw File
Tip revision: 66ff01fede0a566376d7026b48554e7d75c2300a authored by Antoine Pitrou on 06 September 2013, 19:18:25 UTC
Remove old-school inheritance
Tip revision: 66ff01f
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI wWinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPWSTR lpCmdLine,         /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __wargv);
}
back to top