Staging
v0.8.1
https://github.com/python/cpython
Revision 996bf4828de2d7b75d81dd8e9cbe40109aa88e27 authored by Benjamin Peterson on 18 May 2014, 00:31:50 UTC, committed by Benjamin Peterson on 18 May 2014, 00:31:50 UTC
1 parent 03b48b1
Raw File
Tip revision: 996bf4828de2d7b75d81dd8e9cbe40109aa88e27 authored by Benjamin Peterson on 18 May 2014, 00:31:50 UTC
bump to 2.7.7rc1
Tip revision: 996bf48
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