]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/python/python-internal.h
* python/py-event.h (gdbpy_initialize_event_generic): Use
[thirdparty/binutils-gdb.git] / gdb / python / python-internal.h
index 2b4244c01b5553d62e9e071c6da1f7d0eb9b383f..2e090963baf4d54e0eb1f8d3e6a280ffdf202d04 100644 (file)
 #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