contrib/gdb-7/gdb/python/py-newobjfileevent.c
int
emit_new_objfile_event (struct objfile *objfile)
{
  PyObject *event;

  if (evregpy_no_listeners_p (gdb_py_events.new_objfile))
    return 0;

  event = create_new_objfile_event_object (objfile);
  if (event)
    return evpy_emit_event (event, gdb_py_events.new_objfile);
  return -1;
}
/* Callback function which notifies observers when a new objfile event occurs.
   This function will create a new Python new_objfile event object.
   Return -1 if emit fails.  */
Callback function which notifies observers when a new objfile event occurs.
This function will create a new Python new_objfile event object.
Return -1 if emit fails.
Callback function which notifies observers when a new objfile event occurs . This function will create a new Python new_objfile event object . Return - 1 if emit fails .
int
emit_new_objfile_event (struct objfile *objfile)
{
  PyObject *event;
  if (evregpy_no_listeners_p (gdb_py_events.new_objfile))
    return 0;
  event = create_new_objfile_event_object (objfile);
  if (event)
    return evpy_emit_event (event, gdb_py_events.new_objfile);
  return -1;
}
int emit_new_objfile_event ( struct objfile * objfile ) { PyObject * event ; if ( evregpy_no_listeners_p ( gdb_py_events . new_objfile ) ) return 0 ; event = create_new_objfile_event_object ( objfile ) ; if ( event ) return evpy_emit_event ( event , gdb_py_events . new_objfile ) ; return -1 ; }
Callback function which notifies observers when a new objfile event occurs.
Callback function which notifies observers when a new objfile event occurs .