Staging
v0.5.1
https://github.com/python/cpython
Revision 311101f7b6d71d634382cdd943ef3dfcb402aa93 authored by Ned Deily on 26 September 2018, 06:35:30 UTC, committed by Ned Deily on 26 September 2018, 06:35:30 UTC
1 parent adf4932
Raw File
Tip revision: 311101f7b6d71d634382cdd943ef3dfcb402aa93 authored by Ned Deily on 26 September 2018, 06:35:30 UTC
3.6.7rc1
Tip revision: 311101f
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