Staging
v0.5.1
https://github.com/python/cpython
Revision 905e4ef86e86dbf8f28b2f6e45af31a6eea84e10 authored by Mariatta on 14 September 2017, 02:40:32 UTC, committed by GitHub on 14 September 2017, 02:40:32 UTC
Update the link from Misc/NEWS to Misc/NEWS.d
(cherry picked from commit 1b8f612e1800b6e58472113f4abe8ee7c31f4db7)
1 parent 9e3cd78
Raw File
Tip revision: 905e4ef86e86dbf8f28b2f6e45af31a6eea84e10 authored by Mariatta on 14 September 2017, 02:40:32 UTC
[3.6] bpo-31458: Update Misc/NEWS link in What's New page (GH-3555) (GH-3560)
Tip revision: 905e4ef
invalid_parameter_handler.c
#ifdef _MSC_VER

#include <stdlib.h>

#if _MSC_VER >= 1900
/* pyconfig.h uses this function in the _Py_BEGIN/END_SUPPRESS_IPH
 * macros. It does not need to be defined when building using MSVC
 * earlier than 14.0 (_MSC_VER == 1900).
 */

static void __cdecl _silent_invalid_parameter_handler(
    wchar_t const* expression,
    wchar_t const* function,
    wchar_t const* file,
    unsigned int line,
    uintptr_t pReserved) { }

_invalid_parameter_handler _Py_silent_invalid_parameter_handler = _silent_invalid_parameter_handler;

#endif

#endif
back to top