Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: fd757083df79c21eee862e8d89aeefefe45f64a0 authored by Ɓukasz Langa on 19 November 2019, 11:17:21 UTC
Python 3.9.0a1
Tip revision: fd75708
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