Staging
v0.5.1
https://github.com/python/cpython
Revision 35af158d2801eccfc5beda06aba390e08621954c authored by cvs2svn on 20 September 2005, 20:53:24 UTC, committed by cvs2svn on 20 September 2005, 20:53:24 UTC
1 parent bf8cef4
Raw File
Tip revision: 35af158d2801eccfc5beda06aba390e08621954c authored by cvs2svn on 20 September 2005, 20:53:24 UTC
This commit was manufactured by cvs2svn to create tag 'r242c1'.
Tip revision: 35af158
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