Staging
v0.5.1
Revision 2142ee8718d9eb2f055c07efcf66284512f7fa61 authored by Georg Brandl on 23 February 2012, 20:19:25 UTC, committed by Georg Brandl on 23 February 2012, 20:19:25 UTC
1 parent e578021
Raw File
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI wWinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPWSTR lpCmdLine,         /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __wargv);
}
back to top