Staging
v0.5.1
https://github.com/python/cpython
Revision b7af39c4ec92ccbcffba39a39f825fe7a970ffc3 authored by Kurt B. Kaiser on 17 January 2005, 20:06:47 UTC, committed by Kurt B. Kaiser on 17 January 2005, 20:06:47 UTC
backport of configHandler.py, Revision 1.36,  11Jan05.
1 parent e6ce1e7
Raw File
Tip revision: b7af39c4ec92ccbcffba39a39f825fe7a970ffc3 authored by Kurt B. Kaiser on 17 January 2005, 20:06:47 UTC
Improve error handling when .idlerc can't be created. This is a partial
Tip revision: b7af39c
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