Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bbdba3 commit f6d1ea1Copy full SHA for f6d1ea1
1 file changed
Include/object.h
@@ -199,6 +199,7 @@ typedef struct {
199
} PyBufferProcs;
200
201
202
+typedef void (*freefunc)(void *);
203
typedef void (*destructor)(PyObject *);
204
typedef int (*printfunc)(PyObject *, FILE *, int);
205
typedef PyObject *(*getattrfunc)(PyObject *, char *);
@@ -284,7 +285,7 @@ typedef struct _typeobject {
284
285
initproc tp_init;
286
allocfunc tp_alloc;
287
newfunc tp_new;
- destructor tp_free; /* Low-level free-memory routine */
288
+ freefunc tp_free; /* Low-level free-memory routine */
289
inquiry tp_is_gc; /* For PyObject_IS_GC */
290
PyObject *tp_bases;
291
PyObject *tp_mro; /* method resolution order */
0 commit comments