Staging
v0.8.1
https://github.com/python/cpython
Revision c08ec9fdbaeabb2cedf1245f857a310bdceea7cc authored by Victor Stinner on 06 October 2010, 22:44:06 UTC, committed by Victor Stinner on 06 October 2010, 22:44:06 UTC
Create sys_update_path() static function. Do nothing if argc==0.
1 parent 7980eaa
Raw File
Tip revision: c08ec9fdbaeabb2cedf1245f857a310bdceea7cc authored by Victor Stinner on 06 October 2010, 22:44:06 UTC
Create a subfunction for PySys_SetArgvEx()
Tip revision: c08ec9f
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