Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c8e14 commit e3efedeCopy full SHA for e3efede
1 file changed
pythoncapi_compat.h
@@ -1992,6 +1992,8 @@ static inline int Py_fclose(FILE *file)
1992
1993
1994
#if 0x03080000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x030E0000 && !defined(PYPY_VERSION)
1995
+PyAPI_FUNC(const PyConfig*) _Py_GetConfig(void);
1996
+
1997
static inline PyObject*
1998
PyConfig_Get(const char *name)
1999
{
@@ -2127,8 +2129,6 @@ PyConfig_Get(const char *name)
2127
2129
return Py_NewRef(value);
2128
2130
}
2131
- PyAPI_FUNC(const PyConfig*) _Py_GetConfig(void);
-
2132
const PyConfig *config = _Py_GetConfig();
2133
void *member = (char *)config + spec->offset;
2134
switch (spec->type) {
0 commit comments