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