mirror of
https://github.com/python/cpython.git
synced 2024-12-14 20:34:12 +08:00
488d02a241
Exclude PyFPE_START_PROTECT() and PyFPE_END_PROTECT() macros of pyfpe.h from Py_LIMITED_API (stable API).
16 lines
444 B
C
16 lines
444 B
C
#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 */
|