diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-10-06 01:25:14 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-05 09:34:47 +0000 |
commit | 22aea9114b0e37716394f9de476d8f1a6720931e (patch) | |
tree | fc2aab3edcba8497bcd247af92ab2cb76849735d /psycopg/python.h | |
parent | 0021e56d800dffbb7fa30fbb3349a1016456343e (diff) | |
download | psycopg2-22aea9114b0e37716394f9de476d8f1a6720931e.tar.gz |
implement sequence behaviour, as required for transaction IDs.
By James Henstridge on 2008-07-24.
Merged from lp:~jamesh/psycopg/two-phase-commit/revision/357
Diffstat (limited to 'psycopg/python.h')
-rw-r--r-- | psycopg/python.h | 2 |
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 |