Kaydet (Commit) fd92304a authored tarafından Fred Drake's avatar Fred Drake

Update the type of the tp_free slot.

üst f495ef74
...@@ -65,7 +65,7 @@ typedef struct _typeobject { ...@@ -65,7 +65,7 @@ typedef struct _typeobject {
initproc tp_init; initproc tp_init;
allocfunc tp_alloc; allocfunc tp_alloc;
newfunc tp_new; newfunc tp_new;
destructor tp_free; /* Low-level free-memory routine */ freefunc tp_free; /* Low-level free-memory routine */
inquiry tp_is_gc; /* For PyObject_IS_GC */ inquiry tp_is_gc; /* For PyObject_IS_GC */
PyObject *tp_bases; PyObject *tp_bases;
PyObject *tp_mro; /* method resolution order */ PyObject *tp_mro; /* method resolution order */
......
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