Staging
v0.5.1
https://github.com/python/cpython
Revision 945c632dffda0353ab4e78ebae5deb6dfa79eb2a authored by Martin v. Löwis on 14 June 2008, 11:51:54 UTC, committed by Martin v. Löwis on 14 June 2008, 11:51:54 UTC
1 parent 6807120
Raw File
Tip revision: 945c632dffda0353ab4e78ebae5deb6dfa79eb2a authored by Martin v. Löwis on 14 June 2008, 11:51:54 UTC
Set eol-style to CRLF for all batch files.
Tip revision: 945c632
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