Staging
v0.8.1
https://github.com/python/cpython
Revision 237458b2bff259d847670f6eb2e3ac48721a1634 authored by Georg Brandl on 10 March 2007, 08:06:14 UTC, committed by Georg Brandl on 10 March 2007, 08:06:14 UTC
1 parent 86d8d35
Raw File
Tip revision: 237458b2bff259d847670f6eb2e3ac48721a1634 authored by Georg Brandl on 10 March 2007, 08:06:14 UTC
Revert rev. 54198, it's not really backwards compatible.
Tip revision: 237458b
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

#include "Python.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