diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2019-03-15 16:35:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-15 16:35:46 -0600 |
commit | c11183cdcff6af13c4339fdcce84ab63f7930ddc (patch) | |
tree | 947655550e220dc5ddfd5079fa2a92ebdac9dbef /Include/interpreteridobject.h | |
parent | 842a2f07f2f08a935ef470bfdaeef40f87490cfc (diff) | |
download | cpython-git-c11183cdcff6af13c4339fdcce84ab63f7930ddc.tar.gz |
bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (gh-12359)
Diffstat (limited to 'Include/interpreteridobject.h')
-rw-r--r-- | Include/interpreteridobject.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 */ |