Staging
v0.5.1
https://github.com/python/cpython
Revision 59dd0e64ad24b0bf35f4900bfe6b1d0f49844ca3 authored by Benjamin Peterson on 24 May 2016, 05:47:50 UTC, committed by Benjamin Peterson on 24 May 2016, 05:47:50 UTC
1 parent 2aaad46
Raw File
Tip revision: 59dd0e64ad24b0bf35f4900bfe6b1d0f49844ca3 authored by Benjamin Peterson on 24 May 2016, 05:47:50 UTC
fix indentation and add curlies (closes #27093)
Tip revision: 59dd0e6
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI WinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPSTR lpCmdLine,          /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __argv);
}
back to top