blob: cc2def63aa5527f4ac192aa663a14353a88e1774 [file] [log] [blame]
Guido van Rossum7d4266e1997-02-14 22:53:12 +00001#ifndef Py_PYFPE_H
2#define Py_PYFPE_H
Victor Stinner488d02a2019-11-20 12:17:09 +01003/* Header excluded from the stable API */
4#ifndef Py_LIMITED_API
Guido van Rossum7d4266e1997-02-14 22:53:12 +00005
Nathaniel J. Smith735ae8d2018-01-05 23:15:34 -08006/* 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 Rossum7d4266e1997-02-14 22:53:12 +00009 */
10
Guido van Rossum7d4266e1997-02-14 22:53:12 +000011#define PyFPE_START_PROTECT(err_string, leave_stmt)
Guido van Rossum1f06bee1997-03-14 04:23:42 +000012#define PyFPE_END_PROTECT(v)
Guido van Rossum7d4266e1997-02-14 22:53:12 +000013
Victor Stinner488d02a2019-11-20 12:17:09 +010014#endif /* !defined(Py_LIMITED_API) */
Guido van Rossum7d4266e1997-02-14 22:53:12 +000015#endif /* !Py_PYFPE_H */