Staging
v0.5.1
https://github.com/python/cpython
Revision abacccc50c891f32c83dcf9ae38fe310ecf87409 authored by Steven Bethard on 01 November 2010, 14:09:21 UTC, committed by Steven Bethard on 01 November 2010, 14:09:21 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86080 | steven.bethard | 2010-11-01 14:56:09 +0100 (Mon, 01 Nov 2010) | 1 line

  Unset COLUMNS for test_argparse (and restore afterwards) (issue 9553)
........
1 parent 87d86e0
Raw File
Tip revision: abacccc50c891f32c83dcf9ae38fe310ecf87409 authored by Steven Bethard on 01 November 2010, 14:09:21 UTC
Merged revisions 86080 via svnmerge from
Tip revision: abacccc
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI WinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPSTR lpCmdLine,          /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __argv);
}
back to top