Use gdbpy_ref in py-function.c
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 04:21:14 +0000 (21:21 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:31 +0000 (19:13 -0700)
commit80bd970a4b1388fc4373b3e087006e6c93d71f60
treeb2fabbae4cc9096e06d1f4db72600bbdd36a3f63
parentd1b3de2e43380a0c51772a40315cd2268573d985
Use gdbpy_ref in py-function.c

This changes some code in py-function.c to use gdbpy_ref.

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

* python/py-function.c (convert_values_to_python, fnpy_init): Use
gdbpy_ref.
gdb/ChangeLog
gdb/python/py-function.c