Staging
v0.5.1
https://github.com/python/cpython
Revision 67233bc4054f45fcd44ef2765684f07a349a8447 authored by Fred Drake on 26 September 2000, 16:40:27 UTC, committed by Fred Drake on 26 September 2000, 16:40:27 UTC
1 parent fa2e2c1
Raw File
Tip revision: 67233bc4054f45fcd44ef2765684f07a349a8447 authored by Fred Drake on 26 September 2000, 16:40:27 UTC
Fixed typo, description of changes to dbm module.
Tip revision: 67233bc
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#define WINDOWS_LEAN_AND_MEAN
#include <windows.h>

#include "Python.h"

extern int Py_Main(int, char **);

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