113
116
/* the Decimal type, used by the DECIMAL typecaster */
114
117
HIDDEN PyObject *psyco_GetDecimalType(void);
116
122
/* some utility functions */
117
HIDDEN void psyco_set_error(PyObject *exc, PyObject *curs, const char *msg,
123
HIDDEN void psyco_set_error(PyObject *exc, cursorObject *curs, const char *msg,
118
124
const char *pgerror, const char *pgcode);
120
126
HIDDEN char *psycopg_escape_string(PyObject *conn,
121
127
const char *from, Py_ssize_t len, char *to, Py_ssize_t *tolen);
123
134
/* Exceptions docstrings */