mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (gh-12359)
This commit is contained in:
parent
842a2f07f2
commit
c11183cdcf
12 changed files with 483 additions and 393 deletions
17
Include/interpreteridobject.h
Normal file
17
Include/interpreteridobject.h
Normal file
|
@ -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 */
|
Loading…
Add table
Add a link
Reference in a new issue