Kaydet (Commit) 5756ee0f authored tarafından Jack Jansen's avatar Jack Jansen

Removed duplicate definnitions of PyObject_AS_GC and PyObject_FROM_GC (occurred…

Removed duplicate definnitions of PyObject_AS_GC and PyObject_FROM_GC (occurred only if GC was off).
üst 2aadd366
...@@ -238,8 +238,6 @@ extern DL_IMPORT(void) _PyObject_Del(PyObject *); ...@@ -238,8 +238,6 @@ extern DL_IMPORT(void) _PyObject_Del(PyObject *);
#define PyObject_FROM_GC(op) (op) #define PyObject_FROM_GC(op) (op)
#define PyType_IS_GC(t) 0 #define PyType_IS_GC(t) 0
#define PyObject_IS_GC(o) 0 #define PyObject_IS_GC(o) 0
#define PyObject_AS_GC(o) (o)
#define PyObject_FROM_GC(o) (o)
#define PyType_BASICSIZE(t) ((t)->tp_basicsize) #define PyType_BASICSIZE(t) ((t)->tp_basicsize)
#define PyType_SET_BASICSIZE(t, s) ((t)->tp_basicsize = (s)) #define PyType_SET_BASICSIZE(t, s) ((t)->tp_basicsize = (s))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment