Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: ef57abdb6012c9c97cdd22b7bb1f82a645ae3141 authored by Anthony Baxter on 18 April 2007, 03:35:45 UTC
2.5.1 final
Tip revision: ef57abd
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