Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 8bae2a958e8ffb306d00cebdfa1f74247ad81349 authored by Pablo Galindo on 07 December 2020, 19:33:00 UTC
Python 3.10.0a3
Tip revision: 8bae2a9
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