Staging
v0.8.1
https://github.com/python/cpython
Revision f6240cf3722eff4bccf51d3c2f735ad78753d979 authored by Guido van Rossum on 08 October 1998, 01:48:13 UTC, committed by Guido van Rossum on 08 October 1998, 01:48:13 UTC
1 parent 98f936b
Raw File
Tip revision: f6240cf3722eff4bccf51d3c2f735ad78753d979 authored by Guido van Rossum on 08 October 1998, 01:48:13 UTC
Some kind of source control krept in.
Tip revision: f6240cf
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include <windows.h>
#include "Python.h"

extern int Py_Main();

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