diff Doc/api/api.tex @ 10851:fcb25335d6ae legacy-trunk

PyCObject_FromVoidPtr(): Clarify that the destr function will only be called on destruction is non-NULL.
author Fred Drake <fdrake@acm.org>
date Thu, 13 May 1999 18:41:14 +0000
parents a34d6656f8e2
children 617e10fc5d8d
line wrap: on
line diff
--- a/Doc/api/api.tex	Thu May 13 18:38:11 1999 +0000
+++ b/Doc/api/api.tex	Thu May 13 18:41:14 1999 +0000
@@ -2384,7 +2384,8 @@
 \begin{cfuncdesc}{PyObject *}{PyCObject_FromVoidPtr}{void* cobj, 
 	void (*destr)(void *)}
 Creates a \ctype{PyCObject} from the \code{void *} \var{cobj}.  The
-\var{destr} function will be called when the object is reclaimed.
+\var{destr} function will be called when the object is reclaimed, unless
+it is \NULL.
 \end{cfuncdesc}
 
 \begin{cfuncdesc}{PyObject *}{PyCObject_FromVoidPtrAndDesc}{void* cobj,