File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -723,8 +723,9 @@ \subsection{Supporting cyclic garbage collection}
723723\end {verbatim }
724724
725725For each subobject that can participate in cycles, we need to call the
726- \cfunction {visit} function passed to the traversal method passing the
727- subobject and the extra argument passed to the traversal method.
726+ \cfunction {visit} function, which is passed to the traversal method.
727+ The \cfunction {visit} function takes as arguments the subobject and
728+ the extra argument \var {arg} passed to the traversal method.
728729
729730We also need to provide a method for clearing any subobjects that can
730731participate in cycles. We implement the method and reimplement the
@@ -757,7 +758,7 @@ \subsection{Supporting cyclic garbage collection}
757758\end {verbatim }
758759
759760That's pretty much it. If we had written custom \member {tp_alloc} or
760- \member {tp_free} slots, we'd need to modify then for cyclic-garbage
761+ \member {tp_free} slots, we'd need to modify them for cyclic-garbage
761762collection. Most extensions will use the versions automatically
762763provided.
763764
You can’t perform that action at this time.
0 commit comments