Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 55907f45bb9e0ec7bf19626cb2b307d211475a87 authored by Larry Hastings on 19 April 2015, 20:51:40 UTC
Version number bump for Python 3.5.0a4.
Tip revision: 55907f4
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