From 0debcab1aefa2f0dc0944b79829c7f186703ca39 Mon Sep 17 00:00:00 2001 From: nixinwang Date: Sat, 4 Mar 2017 08:57:56 -0800 Subject: [PATCH] added typedef int (*cmpfunc) it is missing in Python3 --- hdr/iidbi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hdr/iidbi.h b/hdr/iidbi.h index 33955ca..79a24ea 100644 --- a/hdr/iidbi.h +++ b/hdr/iidbi.h @@ -99,6 +99,8 @@ # define MAX_PATH 256 # endif /* MAX_PATH */ +typedef int (*cmpfunc)(PyObject *, PyObject*); + /* ** Name: IIDBI_ERROR - DBI error message structure. **