Staging
v0.5.1
https://github.com/python/cpython
Revision ac2bd5b1e8c5d8ee04c12ef6f34f1c9f1f8338c0 authored by Steve Dower on 03 July 2015, 16:08:47 UTC, committed by Steve Dower on 03 July 2015, 16:08:47 UTC
1 parent fdbeb2b
Raw File
Tip revision: ac2bd5b1e8c5d8ee04c12ef6f34f1c9f1f8338c0 authored by Steve Dower on 03 July 2015, 16:08:47 UTC
Fixes warnings when building python3.dll due to the .def file accumulating multiple copies of each line.
Tip revision: ac2bd5b
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