Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 9a3ffc0492d1310ead9ce8f5ee678c26b20a338d authored by Ned Deily on 23 December 2018, 21:37:36 UTC
3.7.2final
Tip revision: 9a3ffc0
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