1998-08-09 04:00:49 +08:00
|
|
|
/* Minimal main program -- everything is loaded from the library. */
|
1997-12-10 13:50:18 +08:00
|
|
|
|
2000-07-09 02:06:41 +08:00
|
|
|
#define WINDOWS_LEAN_AND_MEAN
|
1997-12-10 13:50:18 +08:00
|
|
|
#include <windows.h>
|
2000-07-09 02:06:41 +08:00
|
|
|
|
1998-08-09 03:58:59 +08:00
|
|
|
#include "Python.h"
|
1997-12-10 13:50:18 +08:00
|
|
|
|
2000-07-23 07:59:33 +08:00
|
|
|
extern int Py_Main(int, char **);
|
1997-12-10 13:50:18 +08:00
|
|
|
|
|
|
|
int WINAPI WinMain(
|
2000-07-09 02:06:41 +08:00
|
|
|
HINSTANCE hInstance, /* handle to current instance */
|
|
|
|
HINSTANCE hPrevInstance, /* handle to previous instance */
|
|
|
|
LPSTR lpCmdLine, /* pointer to command line */
|
|
|
|
int nCmdShow /* show state of window */
|
1997-12-10 13:50:18 +08:00
|
|
|
)
|
|
|
|
{
|
2000-07-09 02:06:41 +08:00
|
|
|
return Py_Main(__argc, __argv);
|
1997-12-10 13:50:18 +08:00
|
|
|
}
|