Staging
v0.5.1
https://github.com/python/cpython
Revision 44850ea12a9a273bc76604957efe05507ba9638b authored by Georg Brandl on 14 September 2006, 05:05:42 UTC, committed by Georg Brandl on 14 September 2006, 05:05:42 UTC
1 parent af22c52
Raw File
Tip revision: 44850ea12a9a273bc76604957efe05507ba9638b authored by Georg Brandl on 14 September 2006, 05:05:42 UTC
Backport rev 51866-51868 from trunk (sqlite3 documentation fixes).
Tip revision: 44850ea
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