commit | d369c93be3d185aafd646e2008048c4ae1ff600e | [log] [tgz] |
---|---|---|
author | Rick Dean <fdd@halyard.fdd.com> | Wed Jul 08 11:48:33 2009 -0500 |
committer | Rick Dean <fdd@halyard.fdd.com> | Wed Jul 08 11:48:33 2009 -0500 |
tree | 9937682e22596836b2958b9f7a42b8191d139036 | |
parent | fc69c81a2eaa8216cacc9a8922af4fe29b01e026 [diff] [blame] |
Convert exception_from_error_queue() macros into a single function. Besides code maintainability, this makes our fast path shorter for better cache performance.
diff --git a/src/util.h b/src/util.h index 1774956..d9dc7d2 100644 --- a/src/util.h +++ b/src/util.h
@@ -23,6 +23,7 @@ #include "pymemcompat.h" extern PyObject *error_queue_to_list(void); +extern void exception_from_error_queue(PyObject *the_Error); extern void flush_error_queue(void); /*