Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 2d8697f32c81f3db1e08ce198d5cebdeff5cc917 authored by Anthony Baxter on 18 September 2006, 06:51:50 UTC
Preparing for 2.5 final.
Tip revision: 2d8697f
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