diff options
author | Thomas Heller <theller@ctypes.org> | 2004-04-22 17:23:49 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2004-04-22 17:23:49 (GMT) |
commit | 1328b52c6ff3ae128b12be49b430ce859bbd8876 (patch) | |
tree | d93fb72929188318596f8f63614721c0701e53a9 /Misc | |
parent | 1a9d32b8d4611dd7c95d1dba1b5d1940cbbe3610 (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |