Guido van Rossum | 639ccae | 1998-08-08 20:00:49 +0000 | [diff] [blame] | 1 | /* Minimal main program -- everything is loaded from the library. */ |
Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 2 | |
Tim Peters | d29abb9 | 2001-04-24 05:16:29 +0000 | [diff] [blame] | 3 | #define WIN32_LEAN_AND_MEAN |
Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 4 | #include <windows.h> |
Fredrik Lundh | ddbc118 | 2000-07-08 18:06:41 +0000 | [diff] [blame] | 5 | |
Guido van Rossum | 67ab672 | 1998-08-08 19:58:59 +0000 | [diff] [blame] | 6 | #include "Python.h" |
Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 7 | |
Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 8 | int WINAPI WinMain( |
Fredrik Lundh | ddbc118 | 2000-07-08 18:06:41 +0000 | [diff] [blame] | 9 | HINSTANCE hInstance, /* handle to current instance */ |
| 10 | HINSTANCE hPrevInstance, /* handle to previous instance */ |
| 11 | LPSTR lpCmdLine, /* pointer to command line */ |
| 12 | int nCmdShow /* show state of window */ |
Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 13 | ) |
| 14 | { |
Fredrik Lundh | ddbc118 | 2000-07-08 18:06:41 +0000 | [diff] [blame] | 15 | return Py_Main(__argc, __argv); |
Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 16 | } |