Staging
v0.5.1
https://github.com/python/cpython
Revision d6896507da2ef9d58862d9929c4839c6d890353f authored by Georg Brandl on 06 October 2013, 10:42:18 UTC, committed by Georg Brandl on 06 October 2013, 10:42:18 UTC
1 parent 775ba9b
Raw File
Tip revision: d6896507da2ef9d58862d9929c4839c6d890353f authored by Georg Brandl on 06 October 2013, 10:42:18 UTC
Fix minor bug in httplib example. Found by Alex MacAulay on docs@.
Tip revision: d689650
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