diff options
Diffstat (limited to 'Include/cpython/pyfpe.h')
-rw-r--r-- | Include/cpython/pyfpe.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Include/cpython/pyfpe.h b/Include/cpython/pyfpe.h new file mode 100644 index 0000000..cc2def6 --- /dev/null +++ b/Include/cpython/pyfpe.h @@ -0,0 +1,15 @@ +#ifndef Py_PYFPE_H +#define Py_PYFPE_H +/* Header excluded from the stable API */ +#ifndef Py_LIMITED_API + +/* These macros used to do something when Python was built with --with-fpectl, + * but support for that was dropped in 3.7. We continue to define them though, + * to avoid breaking API users. + */ + +#define PyFPE_START_PROTECT(err_string, leave_stmt) +#define PyFPE_END_PROTECT(v) + +#endif /* !defined(Py_LIMITED_API) */ +#endif /* !Py_PYFPE_H */ |