mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-03-13 04:15:46 +03:00
Fix cursor_init() declaration for use in replication_cursor_type.c
This commit is contained in:
parent
b3f8e9adb5
commit
089e745af6
|
@ -92,12 +92,13 @@ struct cursorObject {
|
||||||
|
|
||||||
|
|
||||||
/* C-callable functions in cursor_int.c and cursor_type.c */
|
/* C-callable functions in cursor_int.c and cursor_type.c */
|
||||||
|
HIDDEN int cursor_init(PyObject *obj, PyObject *args, PyObject *kwargs);
|
||||||
|
|
||||||
BORROWED HIDDEN PyObject *curs_get_cast(cursorObject *self, PyObject *oid);
|
BORROWED HIDDEN PyObject *curs_get_cast(cursorObject *self, PyObject *oid);
|
||||||
HIDDEN void curs_reset(cursorObject *self);
|
HIDDEN void curs_reset(cursorObject *self);
|
||||||
HIDDEN int psyco_curs_withhold_set(cursorObject *self, PyObject *pyvalue);
|
HIDDEN int psyco_curs_withhold_set(cursorObject *self, PyObject *pyvalue);
|
||||||
HIDDEN int psyco_curs_scrollable_set(cursorObject *self, PyObject *pyvalue);
|
HIDDEN int psyco_curs_scrollable_set(cursorObject *self, PyObject *pyvalue);
|
||||||
|
|
||||||
HIDDEN int psyco_curs_init(PyObject *obj, PyObject *args, PyObject *kwargs);
|
|
||||||
|
|
||||||
/* exception-raising macros */
|
/* exception-raising macros */
|
||||||
#define EXC_IF_CURS_CLOSED(self) \
|
#define EXC_IF_CURS_CLOSED(self) \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user