Staging
v0.8.1
https://github.com/python/cpython
Revision 87f7ab5359bc12eeb858272b7bd58e132cb9c176 authored by Andrew Svetlov on 25 November 2020, 17:06:12 UTC, committed by GitHub on 25 November 2020, 17:06:12 UTC
1 parent 9d09e17
Raw File
Tip revision: 87f7ab5359bc12eeb858272b7bd58e132cb9c176 authored by Andrew Svetlov on 25 November 2020, 17:06:12 UTC
bpo-41818: test_openpty succeed on Gentoo, don't expect to fail on this platform (GH-23514)
Tip revision: 87f7ab5
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