Staging
v0.5.1
https://github.com/python/cpython
Revision bce26262d1b4873e2f9a3da69f638ba56d36ce89 authored by Steve Dower on 20 November 2016, 03:17:26 UTC, committed by Steve Dower on 20 November 2016, 03:17:26 UTC
2 parent s 859fd7b + 93ff872
Raw File
Tip revision: bce26262d1b4873e2f9a3da69f638ba56d36ce89 authored by Steve Dower on 20 November 2016, 03:17:26 UTC
Issue #28732: Raise ValueError when argv[0] is empty
Tip revision: bce2626
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