Staging
v0.5.1
https://github.com/python/cpython
Revision e605e4f09a691aa68ddd6642f52afde221085e25 authored by Benjamin Peterson on 11 June 2008, 12:26:31 UTC, committed by Benjamin Peterson on 11 June 2008, 12:26:31 UTC
1 parent f0bc3cb
Raw File
Tip revision: e605e4f09a691aa68ddd6642f52afde221085e25 authored by Benjamin Peterson on 11 June 2008, 12:26:31 UTC
fix import of multiprocessing by juggling imports
Tip revision: e605e4f
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