diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-24 19:07:07 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-24 19:07:07 (GMT) |
commit | 9d95254bb7f65e0afe13547b6741b6bddab8228b (patch) | |
tree | b051dc4fedebcef406dd309c113901841dbc0b51 /Include | |
parent | f5e30d8b54cdc07c53ffa741353a83ed3263d7d2 (diff) | |
download | cpython-9d95254bb7f65e0afe13547b6741b6bddab8228b.zip cpython-9d95254bb7f65e0afe13547b6741b6bddab8228b.tar.gz cpython-9d95254bb7f65e0afe13547b6741b6bddab8228b.tar.bz2 |
Issue #18772: fix the gdb plugin after the set implementation changes
Diffstat (limited to 'Include')
-rw-r--r-- | Include/object.h | 1 | ||||
-rw-r--r-- | Include/setobject.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h index 25b96e8..7f3fdb0 100644 --- a/Include/object.h +++ b/Include/object.h @@ -706,7 +706,6 @@ PyAPI_DATA(Py_ssize_t) _Py_RefTotal; PyAPI_FUNC(void) _Py_NegativeRefcount(const char *fname, int lineno, PyObject *op); PyAPI_FUNC(PyObject *) _PyDict_Dummy(void); -PyAPI_FUNC(PyObject *) _PySet_Dummy(void); PyAPI_FUNC(Py_ssize_t) _Py_GetRefTotal(void); #define _Py_INC_REFTOTAL _Py_RefTotal++ #define _Py_DEC_REFTOTAL _Py_RefTotal-- diff --git a/Include/setobject.h b/Include/setobject.h index cbb21a1..f377a73 100644 --- a/Include/setobject.h +++ b/Include/setobject.h @@ -61,6 +61,10 @@ struct _setobject { PyAPI_DATA(PyTypeObject) PySet_Type; PyAPI_DATA(PyTypeObject) PyFrozenSet_Type; PyAPI_DATA(PyTypeObject) PySetIter_Type; +#ifndef Py_LIMITED_API +PyAPI_DATA(PyObject *) _PySet_Dummy; +#endif + /* Invariants for frozensets: * data is immutable. |