summaryrefslogtreecommitdiff
path: root/psycopg/cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/cursor.h')
-rw-r--r--psycopg/cursor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/psycopg/cursor.h b/psycopg/cursor.h
index d8af1e8..355dd27 100644
--- a/psycopg/cursor.h
+++ b/psycopg/cursor.h
@@ -26,13 +26,14 @@
#include <Python.h>
#include <libpq-fe.h>
+#include "psycopg/config.h"
#include "psycopg/connection.h"
#ifdef __cplusplus
extern "C" {
#endif
-extern PyTypeObject cursorType;
+extern HIDDEN PyTypeObject cursorType;
typedef struct {
PyObject_HEAD
@@ -80,7 +81,7 @@ typedef struct {
} cursorObject;
/* C-callable functions in cursor_int.c and cursor_ext.c */
-extern void curs_reset(cursorObject *self);
+HIDDEN void curs_reset(cursorObject *self);
/* exception-raising macros */
#define EXC_IF_CURS_CLOSED(self) \