Staging
v0.5.1
https://github.com/python/cpython
Revision 1d7feab78a5a6ad98930ca44a797fcd05ff69794 authored by Berker Peksag on 12 September 2016, 04:47:33 UTC, committed by Berker Peksag on 12 September 2016, 04:47:33 UTC
2 parent s 8a2150a + ed6224e
Raw File
Tip revision: 1d7feab78a5a6ad98930ca44a797fcd05ff69794 authored by Berker Peksag on 12 September 2016, 04:47:33 UTC
Issue #28045: Merge from 3.5
Tip revision: 1d7feab
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