mirror of
https://github.com/python/cpython.git
synced 2025-08-09 03:19:15 +00:00

The _xxsubinterpreters module was meant to only use public API. Some internal C-API usage snuck in over the last few years (e.g. gh-28969). This fixes that.
(cherry picked from commit e6373c0d8b
)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
17 lines
333 B
C
17 lines
333 B
C
#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 */
|