]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/python/py-stopevent.c
Turn gdbpy_ref into a template
[thirdparty/binutils-gdb.git] / gdb / python / py-stopevent.c
index b87ebda3a83d76624cfa43201adcbf9f3894a2e2..cfa45918625d3234aa665b4a6a6ba4896c484cb6 100644 (file)
@@ -36,8 +36,8 @@ create_stop_event_object (PyTypeObject *py_type)
 int
 emit_stop_event (struct bpstats *bs, enum gdb_signal stop_signal)
 {
-  gdbpy_ref stop_event_obj;
-  gdbpy_ref list;
+  gdbpy_ref<> stop_event_obj;
+  gdbpy_ref<> list;
   PyObject *first_bp = NULL;
   struct bpstats *current_bs;