Staging
v0.5.1
https://github.com/python/cpython
Revision 21060105d99a9153db44dd88eb750965392fd966 authored by Xavier de Gaye on 16 November 2016, 07:05:27 UTC, committed by Xavier de Gaye on 16 November 2016, 07:05:27 UTC
1 parent b445ad7
Raw File
Tip revision: 21060105d99a9153db44dd88eb750965392fd966 authored by Xavier de Gaye on 16 November 2016, 07:05:27 UTC
Issue #26935: Fix broken Android dup2() in test_os
Tip revision: 2106010
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