From c11183cdcff6af13c4339fdcce84ab63f7930ddc Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Fri, 15 Mar 2019 16:35:46 -0600 Subject: bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (gh-12359) --- Include/interpreteridobject.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Include/interpreteridobject.h (limited to 'Include/interpreteridobject.h') diff --git a/Include/interpreteridobject.h b/Include/interpreteridobject.h new file mode 100644 index 0000000000..e744fcdc9f --- /dev/null +++ b/Include/interpreteridobject.h @@ -0,0 +1,17 @@ +#ifndef Py_INTERPRETERIDOBJECT_H +#define Py_INTERPRETERIDOBJECT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef Py_LIMITED_API +# define Py_CPYTHON_INTERPRETERIDOBJECT_H +# include "cpython/interpreteridobject.h" +# undef Py_CPYTHON_INTERPRETERIDOBJECT_H +#endif + +#ifdef __cplusplus +} +#endif +#endif /* !Py_INTERPRETERIDOBJECT_H */ -- cgit v1.2.1