Staging
v0.5.0
https://github.com/python/cpython
Raw File
Tip revision: f7ac4fe52a278d512e263cb1711dd95c06dc964f authored by Ned Deily on 17 October 2017, 03:50:50 UTC
Bump to 3.7.0a2
Tip revision: f7ac4fe
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