Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 84fc4ba67eedd249ae7643930eacd0058303b95c authored by Georg Brandl on 12 May 2013, 17:50:34 UTC
Closes #17962: Build with OpenSSL 1.0.1e on Windows.
Tip revision: 84fc4ba
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