Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 75a402a2176c3baa5f48aa0e176507f1bac20cda authored by Ned Deily on 11 December 2018, 21:46:13 UTC
3.7.2rc1
Tip revision: 75a402a
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