mirror of
https://github.com/python/cpython.git
synced 2025-09-04 16:01:10 +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.
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 */
|