https://github.com/python/cpython
Raw File
Tip revision: 6a66a68fe6132418ad6aba5162871f0dcd3651ad authored by cvs2svn on 18 July 2003, 17:45:33 UTC
This commit was manufactured by cvs2svn to create tag 'r23c1'.
Tip revision: 6a66a68
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