File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,15 @@ rules:
6464 :c:macro: `Py_TPFLAGS_HAVE_GC ` flag set.
6565
6666
67- .. c :function :: TYPE* PyObject_GC_Resize (TYPE, PyVarObject * op, Py_ssize_t newsize)
67+ .. c :macro :: PyObject_GC_Resize(TYPE, op, newsize)
6868
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 `.
7176
7277
7378.. c :function :: void PyObject_GC_Track (PyObject *op)
Original file line number Diff line number Diff line change 44
55Doc/c-api/descriptor.rst
66Doc/c-api/float.rst
7- Doc/c-api/gcsupport.rst
87Doc/c-api/init.rst
98Doc/c-api/init_config.rst
109Doc/c-api/intro.rst
You can’t perform that action at this time.
0 commit comments