diff options
Diffstat (limited to 'Doc/api')
-rw-r--r-- | Doc/api/refcounting.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/api/refcounting.tex b/Doc/api/refcounting.tex index 03530f0..42b9e6a 100644 --- a/Doc/api/refcounting.tex +++ b/Doc/api/refcounting.tex @@ -42,6 +42,11 @@ of Python objects. applies. \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()}, \cfunction{_Py_ForgetReference()}, \cfunction{_Py_NewReference()}, as |