]> granicus.if.org Git - python/commitdiff
Update the type of the tp_free slot.
authorFred Drake <fdrake@acm.org>
Fri, 12 Apr 2002 19:49:13 +0000 (19:49 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 12 Apr 2002 19:49:13 +0000 (19:49 +0000)
Doc/ext/typestruct.h

index 85ce049603b047efb11ca7cdd513d902e2a4cd46..0afe375d4f0fffb868a27c89279e668f6675ba7b 100644 (file)
@@ -65,7 +65,7 @@ typedef struct _typeobject {
     initproc tp_init;
     allocfunc tp_alloc;
     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 */
     PyObject *tp_bases;
     PyObject *tp_mro; /* method resolution order */