Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: c2f86d86e6c8f5fd1ef602128b537a48f3f5c063 authored by Benjamin Peterson on 19 October 2019, 18:38:44 UTC
Empty blurb file for 2.7.17.
Tip revision: c2f86d8
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