* python/py-event.h (gdbpy_initialize_event_generic): Use
CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. * python/py-evts.c (add_new_registry): Use CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. * python/python-internal.h (CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION): New macro.
This commit is contained in:
parent
56cc411c4b
commit
5d153bd188
4 changed files with 21 additions and 4 deletions
|
@ -115,8 +115,9 @@ extern int emit_new_objfile_event (struct objfile *objfile);
|
|||
|
||||
extern void evpy_dealloc (PyObject *self);
|
||||
extern int evpy_add_attribute (PyObject *event,
|
||||
char *name, PyObject *attr);
|
||||
int gdbpy_initialize_event_generic (PyTypeObject *type, char *name);
|
||||
|
||||
char *name, PyObject *attr)
|
||||
CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION;
|
||||
int gdbpy_initialize_event_generic (PyTypeObject *type, char *name)
|
||||
CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION;
|
||||
|
||||
#endif /* GDB_PY_EVENT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue