Staging
v0.5.1
https://github.com/python/cpython
Revision 741e0bb5f46588ad71d3ac940a430e46e8d77df1 authored by Vinay Sajip on 11 January 2007, 20:26:05 UTC, committed by Vinay Sajip on 11 January 2007, 20:26:05 UTC
1 parent e518551
Raw File
Tip revision: 741e0bb5f46588ad71d3ac940a430e46e8d77df1 authored by Vinay Sajip on 11 January 2007, 20:26:05 UTC
Fixed bug in fileConfig where _handlerList was not being cleared. (SF #1632328)
Tip revision: 741e0bb
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