1998-08-08 20:00:49 +00:00
|
|
|
/* Minimal main program -- everything is loaded from the library. */
|
1997-12-10 05:50:18 +00:00
|
|
|
|
2000-07-08 18:06:41 +00:00
|
|
|
#define WINDOWS_LEAN_AND_MEAN
|
1997-12-10 05:50:18 +00:00
|
|
|
#include <windows.h>
|
2000-07-08 18:06:41 +00:00
|
|
|
|
1998-08-08 19:58:59 +00:00
|
|
|
#include "Python.h"
|
1997-12-10 05:50:18 +00:00
|
|
|
|
|
|
|
extern int Py_Main();
|
|
|
|
|
|
|
|
int WINAPI WinMain(
|
2000-07-08 18:06:41 +00: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 05:50:18 +00:00
|
|
|
)
|
|
|
|
{
|
2000-07-08 18:06:41 +00:00
|
|
|
return Py_Main(__argc, __argv);
|
1997-12-10 05:50:18 +00:00
|
|
|
}
|