Staging
v0.5.1
https://github.com/python/cpython
Revision 7bbd101bb18d7afb744f1cfa494187538d7c97c3 authored by Zachary Ware on 26 February 2014, 16:40:38 UTC, committed by Zachary Ware on 26 February 2014, 16:40:38 UTC
The signature and description of PyException_SetCause now use "cause"
rather than "ctx" to match the code.
1 parent 5ea5d2c
Raw File
Tip revision: 7bbd101bb18d7afb744f1cfa494187538d7c97c3 authored by Zachary Ware on 26 February 2014, 16:40:38 UTC
Fix several C-API doc typos caught by tomo cocoa on docs@.
Tip revision: 7bbd101
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