This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 13/13] Remove make_cleanup_py_decref and make_cleanup_py_xdecref
On 11/20/2016 08:41 PM, Tom Tromey wrote:
> 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.
>
> 2016-11-20 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.
Hurray! LGTM.
Thanks,
Pedro Alves