Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pythoncapi_compat.h
Original file line numberDiff line numberDiff line change
Expand Up@@ -1992,6 +1992,8 @@ static inline int Py_fclose(FILE *file)


#if 0x03080000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x030E0000 && !defined(PYPY_VERSION)
PyAPI_FUNC(const PyConfig*) _Py_GetConfig(void);

static inline PyObject*
PyConfig_Get(const char *name)
{
Expand DownExpand Up@@ -2127,8 +2129,6 @@ PyConfig_Get(const char *name)
return Py_NewRef(value);
}

PyAPI_FUNC(const PyConfig*) _Py_GetConfig(void);

const PyConfig *config = _Py_GetConfig();
void *member = (char *)config + spec->offset;
switch (spec->type){
Expand Down