Staging
v0.5.1
https://github.com/python/cpython
Revision 2b4df43c1c6c213ecbd2ee54bbfeb75fb2d14a84 authored by Georg Brandl on 04 October 2009, 09:03:59 UTC, committed by Georg Brandl on 04 October 2009, 09:03:59 UTC
1 parent e8b2d18
Raw File
Tip revision: 2b4df43c1c6c213ecbd2ee54bbfeb75fb2d14a84 authored by Georg Brandl on 04 October 2009, 09:03:59 UTC
#7052: remove nonexisting NullHandler from logging.__all__.
Tip revision: 2b4df43
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.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