Remove make_cleanup_py_decref and make_cleanup_py_xdecref
authorTom Tromey <tom@tromey.com>
Sun, 20 Nov 2016 18:16:41 +0000 (11:16 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:14:08 +0000 (19:14 -0700)
commit8dbcee674ea4a8daa55f880ad7ade96efca96951
tree8cb08ab11a952e36c83c0ba0de96c6b68d4e2108
parent13df46cc0f340253e8a7bd984d1e4f38f29eec2d
Remove make_cleanup_py_decref and make_cleanup_py_xdecref

make_cleanup_py_decref and make_cleanup_py_xdecref are now unused, so
this patch removes themm.  Future Python changes should use gdbpy_ref
instead.

2017-01-10  Tom Tromey  <tom@tromey.com>

* python/python-internal.h (make_cleanup_py_decref)
(make_cleanup_py_xdecref): Don't declare.
* python/py-utils.c (py_decref, make_cleanup_py_decref)
(py_xdecref, make_cleanup_py_xdecref): Remove.
gdb/ChangeLog
gdb/python/py-utils.c
gdb/python/python-internal.h