Staging
v0.5.1
https://github.com/python/cpython
Revision a7d64a6f4c0307f9c58ea170705b1552580d93eb authored by Ezio Melotti on 12 March 2013, 23:52:34 UTC, committed by Ezio Melotti on 12 March 2013, 23:52:34 UTC
1 parent 7343cb0
Raw File
Tip revision: a7d64a6f4c0307f9c58ea170705b1552580d93eb authored by Ezio Melotti on 12 March 2013, 23:52:34 UTC
#17368: Fix an off-by-one error in the Python JSON decoder that caused a failure while decoding empty object literals when object_pairs_hook was specified.
Tip revision: a7d64a6
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