Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: c251607d591ad8c0f117eb5e6118027c4ae1e8c6 authored by Benjamin Peterson on 08 May 2010, 17:08:17 UTC
bump version to 2.7 beta 2
Tip revision: c251607
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