Staging
v0.5.1
https://github.com/python/cpython
Revision c0bc0b46bb4849934a81fe46d057d40fb64d203e authored by Nick Coghlan on 09 February 2014, 02:00:01 UTC, committed by Nick Coghlan on 09 February 2014, 02:00:01 UTC
1 parent 0c3949c
Raw File
Tip revision: c0bc0b46bb4849934a81fe46d057d40fb64d203e authored by Nick Coghlan on 09 February 2014, 02:00:01 UTC
Issue #20500: Note other public APIs with the new assertion
Tip revision: c0bc0b4
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