diff options
Diffstat (limited to 'psycopg/psycopg.h')
| -rw-r--r-- | psycopg/psycopg.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/psycopg/psycopg.h b/psycopg/psycopg.h index 4da312e..7a7a202 100644 --- a/psycopg/psycopg.h +++ b/psycopg/psycopg.h @@ -99,7 +99,11 @@ typedef struct { /* the Decimal type, used by the DECIMAL typecaster */ extern PyObject *decimalType; - + +/* some utility functions */ +extern void psyco_set_error(PyObject *exc, PyObject *curs, char *msg, + char *pgerror, char *pgcode); + #ifdef __cplusplus } #endif |
