diff options
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index acb672b..cdb8813 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -407,6 +407,17 @@ _PyInterpreterState_IDDecref(PyInterpreterState *interp) } } +_PyCoreConfig * +_PyInterpreterState_GetCoreConfig(PyInterpreterState *interp) +{ + return &interp->core_config; +} + +_PyMainInterpreterConfig * +_PyInterpreterState_GetMainConfig(PyInterpreterState *interp) +{ + return &interp->config; +} /* Default implementation for _PyThreadState_GetFrame */ static struct _frame * |