Staging
v0.8.1
https://github.com/python/cpython
Revision d01444d325c0e62b846b795e3443e97932271e17 authored by Benjamin Peterson on 07 March 2010, 17:14:15 UTC, committed by Benjamin Peterson on 07 March 2010, 17:14:15 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r78766 | benjamin.peterson | 2010-03-07 11:10:51 -0600 (Sun, 07 Mar 2010) | 1 line

  prevent generator finalization from invalidating sys.exc_info() #7173
........
1 parent 056c060
Raw File
Tip revision: d01444d325c0e62b846b795e3443e97932271e17 authored by Benjamin Peterson on 07 March 2010, 17:14:15 UTC
Merged revisions 78766 via svnmerge from
Tip revision: d01444d
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