File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,15 @@ rules:
64
64
:c:macro: `Py_TPFLAGS_HAVE_GC ` flag set.
65
65
66
66
67
- .. c :function :: TYPE* PyObject_GC_Resize (TYPE, PyVarObject * op, Py_ssize_t newsize)
67
+ .. c :macro :: PyObject_GC_Resize(TYPE, op, newsize)
68
68
69
- Resize an object allocated by :c:macro: `PyObject_NewVar `. Returns the
70
- resized object or ``NULL `` on failure. *op * must not be tracked by the collector yet.
69
+ Resize an object allocated by :c:macro: `PyObject_NewVar `.
70
+ Returns the resized object of type ``TYPE* `` (refers to any C type)
71
+ or ``NULL `` on failure.
72
+
73
+ *op * must be of type :c:expr: `PyVarObject * `
74
+ and must not be tracked by the collector yet.
75
+ *newsize * must be of type :c:type: `Py_ssize_t `.
71
76
72
77
73
78
.. c :function :: void PyObject_GC_Track (PyObject *op)
Original file line number Diff line number Diff line change 4
4
5
5
Doc/c-api/descriptor.rst
6
6
Doc/c-api/float.rst
7
- Doc/c-api/gcsupport.rst
8
7
Doc/c-api/init.rst
9
8
Doc/c-api/init_config.rst
10
9
Doc/c-api/intro.rst
You can’t perform that action at this time.
0 commit comments