Staging
v0.5.1
https://github.com/python/cpython
Revision 675bac026e8df0d8a787dd7f88fa82e04ee70191 authored by Raymond Hettinger on 16 September 2003, 04:55:32 UTC, committed by Raymond Hettinger on 16 September 2003, 04:55:32 UTC
1 parent c866ac7
Raw File
Tip revision: 675bac026e8df0d8a787dd7f88fa82e04ee70191 authored by Raymond Hettinger on 16 September 2003, 04:55:32 UTC
Backport addition of the __all__ attribute for unittest.py
Tip revision: 675bac0
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