WinMain.c 447 Bytes
Newer Older
1
/* Minimal main program -- everything is loaded from the library. */
2

3 4
#include "Python.h"

5
#define WIN32_LEAN_AND_MEAN
6
#include <windows.h>
7

8
int WINAPI WinMain(
9 10 11 12
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPSTR lpCmdLine,          /* pointer to command line */
    int nCmdShow              /* show state of window */
13 14
)
{
15
    return Py_Main(__argc, __argv);
16
}