Guido van Rossum | 7d4266e | 1997-02-14 22:53:12 +0000 | [diff] [blame] | 1 | #ifndef Py_PYFPE_H |
| 2 | #define Py_PYFPE_H |
Victor Stinner | 488d02a | 2019-11-20 12:17:09 +0100 | [diff] [blame] | 3 | /* Header excluded from the stable API */ |
| 4 | #ifndef Py_LIMITED_API |
Guido van Rossum | 7d4266e | 1997-02-14 22:53:12 +0000 | [diff] [blame] | 5 | |
Nathaniel J. Smith | 735ae8d | 2018-01-05 23:15:34 -0800 | [diff] [blame] | 6 | /* These macros used to do something when Python was built with --with-fpectl, |
| 7 | * but support for that was dropped in 3.7. We continue to define them though, |
| 8 | * to avoid breaking API users. |
Guido van Rossum | 7d4266e | 1997-02-14 22:53:12 +0000 | [diff] [blame] | 9 | */ |
| 10 | |
Guido van Rossum | 7d4266e | 1997-02-14 22:53:12 +0000 | [diff] [blame] | 11 | #define PyFPE_START_PROTECT(err_string, leave_stmt) |
Guido van Rossum | 1f06bee | 1997-03-14 04:23:42 +0000 | [diff] [blame] | 12 | #define PyFPE_END_PROTECT(v) |
Guido van Rossum | 7d4266e | 1997-02-14 22:53:12 +0000 | [diff] [blame] | 13 | |
Victor Stinner | 488d02a | 2019-11-20 12:17:09 +0100 | [diff] [blame] | 14 | #endif /* !defined(Py_LIMITED_API) */ |
Guido van Rossum | 7d4266e | 1997-02-14 22:53:12 +0000 | [diff] [blame] | 15 | #endif /* !Py_PYFPE_H */ |