Staging
v0.5.1
https://github.com/python/cpython
Revision ef4ec6ed12d6c6200a85068f60483723298b6ff4 authored by Ned Deily on 25 March 2019, 20:21:05 UTC, committed by Ned Deily on 25 March 2019, 20:21:05 UTC
1 parent 3ee1266
Raw File
Tip revision: ef4ec6ed12d6c6200a85068f60483723298b6ff4 authored by Ned Deily on 25 March 2019, 20:21:05 UTC
3.7.3
Tip revision: ef4ec6e
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