summaryrefslogtreecommitdiff
path: root/OpenSSL/util.h
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@divmod.com>2010-08-10 19:47:06 -0400
committerJean-Paul Calderone <exarkun@divmod.com>2010-08-10 19:47:06 -0400
commitef853ebb5f344a2395d8ddce287b9e543d73de21 (patch)
tree451e98201bb57bd868849fb4f41a22cf60da9f49 /OpenSSL/util.h
parente0d7936c734647a78502474553aa41c55fbd79dc (diff)
downloadpyopenssl-ef853ebb5f344a2395d8ddce287b9e543d73de21.tar.gz
Start porting the C to the Python 3 APIs
Diffstat (limited to 'OpenSSL/util.h')
-rw-r--r--OpenSSL/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSSL/util.h b/OpenSSL/util.h
index d1157a7..73accbf 100644
--- a/OpenSSL/util.h
+++ b/OpenSSL/util.h
@@ -22,6 +22,12 @@
*/
#include "pymemcompat.h"
+/*
+ * py3k defines macros that help with Python 2.x/3.x compatibility.
+ */
+#include "py3k.h"
+
+
extern PyObject *error_queue_to_list(void);
extern void exception_from_error_queue(PyObject *the_Error);
extern void flush_error_queue(void);