summaryrefslogtreecommitdiff
path: root/psycopg/python.h
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/python.h')
-rw-r--r--psycopg/python.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/psycopg/python.h b/psycopg/python.h
index 4d7333f..95debf3 100644
--- a/psycopg/python.h
+++ b/psycopg/python.h
@@ -41,6 +41,8 @@
#define PY_FORMAT_SIZE_T ""
#define PyInt_FromSsize_t(x) PyInt_FromLong((x))
+ #define lenfunc inquiry
+ #define ssizeargfunc intargfunc
#define readbufferproc getreadbufferproc
#define writebufferproc getwritebufferproc
#define segcountproc getsegcountproc