https://github.com/python/cpython
Raw File
Tip revision: 0ef256c2b09cca0990d8d3767de943096dd61a07 authored by Ned Deily on 01 November 2016, 00:43:30 UTC
Version bump for 3.6.0b3
Tip revision: 0ef256c
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