Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: e0fbe5feee4f9c00f09eb9659c2182183036261a authored by Ned Deily on 04 March 2017, 17:25:04 UTC
Update docs and patchlevel for 3.6.1rc1.
Tip revision: e0fbe5f
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