1998-08-08 22:00:49 +02:00
|
|
|
/* Minimal main program -- everything is loaded from the library. */
|
1997-12-10 06:50:18 +01:00
|
|
|
|
2001-04-24 07:16:29 +02:00
|
|
|
#define WIN32_LEAN_AND_MEAN
|
1997-12-10 06:50:18 +01:00
|
|
|
#include <windows.h>
|
2000-07-08 20:06:41 +02:00
|
|
|
|
1998-08-08 21:58:59 +02:00
|
|
|
#include "Python.h"
|
1997-12-10 06:50:18 +01:00
|
|
|
|
2000-07-23 01:59:33 +02:00
|
|
|
extern int Py_Main(int, char **);
|
1997-12-10 06:50:18 +01:00
|
|
|
|
|
|
|
int WINAPI WinMain(
|
2000-07-08 20:06:41 +02: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 06:50:18 +01:00
|
|
|
)
|
|
|
|
{
|
2000-07-08 20:06:41 +02:00
|
|
|
return Py_Main(__argc, __argv);
|
1997-12-10 06:50:18 +01:00
|
|
|
}
|