Staging
v0.5.1
Revision c9da0893d3b49b99e29e95276437d792c6ac0c9a authored by Serhiy Storchaka on 10 January 2014, 11:36:56 UTC, committed by Serhiy Storchaka on 10 January 2014, 11:36:56 UTC
Incorrect requirements can cause memory swapping.
1 parent 9f8621f
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 WinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPSTR lpCmdLine,          /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __argv);
}
back to top