diff options
author | Nicholas Sim <nsim@posteo.net> | 2021-02-19 14:55:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 14:55:46 (GMT) |
commit | 4a6bf276ed3e6687394afe26b0d9a061ac06fc6b (patch) | |
tree | 249bba20a6ee0ca4ae9b2a1661a12443370e5e46 /Include/cpython/pyfpe.h | |
parent | 839184f85cb2d2ad514fff9b431733d1c9607533 (diff) | |
download | cpython-4a6bf276ed3e6687394afe26b0d9a061ac06fc6b.zip cpython-4a6bf276ed3e6687394afe26b0d9a061ac06fc6b.tar.gz cpython-4a6bf276ed3e6687394afe26b0d9a061ac06fc6b.tar.bz2 |
bpo-35134: Move non-limited C API files to Include/cpython/ (GH-24561)
Include/{odictobject.h,parser_interface.h,picklebufobject.h,pydebug.h,pyfpe.h}
into Include/cpython/.
Parser: peg_api: include Python.h instead of parser_interface.h.
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 */ |