summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2004-04-22 17:23:49 (GMT)
committerThomas Heller <theller@ctypes.org>2004-04-22 17:23:49 (GMT)
commit1328b52c6ff3ae128b12be49b430ce859bbd8876 (patch)
treed93fb72929188318596f8f63614721c0701e53a9 /Misc
parent1a9d32b8d4611dd7c95d1dba1b5d1940cbbe3610 (diff)
downloadcpython-1328b52c6ff3ae128b12be49b430ce859bbd8876.zip
cpython-1328b52c6ff3ae128b12be49b430ce859bbd8876.tar.gz
cpython-1328b52c6ff3ae128b12be49b430ce859bbd8876.tar.bz2
Two new public API functions, Py_IncRef and Py_DecRef. Useful for
dynamic embedders of Python.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index b713316..70e37d7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -471,6 +471,10 @@ Build
C API
-----
+- New public functions Py_IncRef() and Py_DecRef(), exposing the
+ functionality of the Py_XINCREF() and Py_XDECREF macros. Useful for
+ runtime dynamic embedding of Python.
+
- Added a new macro, PySequence_Fast_ITEMS, which retrieves a fast sequence's
underlying array of PyObject pointers. Useful for high speed looping.