Staging
v0.5.1
https://github.com/python/cpython
Revision d41ec65ab7411e877ca33d05e8c900feca530635 authored by Zackery Spytz on 28 November 2020, 14:53:39 UTC, committed by GitHub on 28 November 2020, 14:53:39 UTC
1 parent 8085f74
Raw File
Tip revision: d41ec65ab7411e877ca33d05e8c900feca530635 authored by Zackery Spytz on 28 November 2020, 14:53:39 UTC
bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)
Tip revision: d41ec65
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