* 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
|
@ -53,6 +53,13 @@
|
|||
#define CPYCHECKER_SETS_EXCEPTION
|
||||
#endif
|
||||
|
||||
#ifdef WITH_CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION_ATTRIBUTE
|
||||
#define CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION \
|
||||
__attribute__ ((cpychecker_negative_result_sets_exception))
|
||||
#else
|
||||
#define CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Python 2.4 doesn't include stdint.h soon enough to get {u,}intptr_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue