symbian-qemu-0.9.1-12/python-2.6.1/PC/WinMain.c
changeset 1 2fb8b9db1c86
equal deleted inserted replaced
0:ffa851df0825 1:2fb8b9db1c86
       
     1 /* Minimal main program -- everything is loaded from the library. */
       
     2 
       
     3 #include "Python.h"
       
     4 
       
     5 #define WIN32_LEAN_AND_MEAN
       
     6 #include <windows.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 }