[Python-checkins] python/dist/src/Doc/api refcounting.tex,1.1,1.2

theller at users.sourceforge.net theller at users.sourceforge.net
Thu Apr 22 13:23:24 EDT 2004


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7973

Modified Files:
	refcounting.tex 
Log Message:
Two new public API functions, Py_IncRef and Py_DecRef.  Useful for
dynamic embedders of Python.


Index: refcounting.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/refcounting.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** refcounting.tex	12 Oct 2001 19:01:43 -0000	1.1
--- refcounting.tex	22 Apr 2004 17:23:21 -0000	1.2
***************
*** 43,46 ****
--- 43,51 ----
  \end{cfuncdesc}
  
+ The following functions are for runtime dynamic embedding of Python:
+ \cfunction{Py_IncRef(PyObject *o)}, \cfunction{Py_DecRef(PyObject *o)}.
+ They are simply exported function versions of \cfunction{Py_XINCREF()} and 
+ \cfunction{Py_XDECREF()}, respectively.
+ 
  The following functions or macros are only for use within the
  interpreter core: \cfunction{_Py_Dealloc()},




More information about the Python-checkins mailing list