source:
trunk/essentials/dev-lang/python/PC/WinMain.c@
3951
| Last change on this file since 3951 was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 447 bytes | |
| Line | |
|---|---|
| 1 | /* Minimal main program -- everything is loaded from the library. */ |
| 2 | |
| 3 | #define WIN32_LEAN_AND_MEAN |
| 4 | #include <windows.h> |
| 5 | |
| 6 | #include "Python.h" |
| 7 | |
| 8 | int WINAPI WinMain( |
| 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 */ |
| 13 | ) |
| 14 | { |
| 15 | return Py_Main(__argc, __argv); |
| 16 | } |
Note:
See TracBrowser
for help on using the repository browser.
