Staging
v0.5.1
https://github.com/python/cpython
Revision 4403d501ac0365c0ea7cd948fcba344ab014a878 authored by Benjamin Peterson on 14 December 2016, 07:30:16 UTC, committed by Benjamin Peterson on 14 December 2016, 07:30:16 UTC
1 parent d1aad3f
Raw File
Tip revision: 4403d501ac0365c0ea7cd948fcba344ab014a878 authored by Benjamin Peterson on 14 December 2016, 07:30:16 UTC
revert a37cc3d926ec (#5322)
Tip revision: 4403d50
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