| Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 1 | /* Minimal main program -- everything is loaded from the library */ |
| 2 | |||||
| 3 | #include <windows.h> | ||||
| 4 | |||||
| 5 | extern int Py_Main(); | ||||
| 6 | |||||
| 7 | int WINAPI WinMain( | ||||
| 8 | HINSTANCE hInstance, // handle to current instance | ||||
| 9 | HINSTANCE hPrevInstance, // handle to previous instance | ||||
| 10 | LPSTR lpCmdLine, // pointer to command line | ||||
| 11 | int nCmdShow // show state of window | ||||
| 12 | ) | ||||
| 13 | { | ||||
| 14 | return Py_Main(__argc, __argv); | ||||
| 15 | } | ||||