summaryrefslogtreecommitdiff
path: root/psycopg/cursor.h
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-01-03 12:47:01 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-01-03 21:34:49 +0100
commit19ff51ae75914c2226888ac1a3ffecdc590d0ec7 (patch)
tree666a539bb1eeb9bd01f3330ce0fb8db5bbb777e7 /psycopg/cursor.h
parent04cf90cc21db4a8213cfc07da3a2920c8d178faa (diff)
downloadpsycopg2-19ff51ae75914c2226888ac1a3ffecdc590d0ec7.tar.gz
The cursor is weakly referenceable
Diffstat (limited to 'psycopg/cursor.h')
-rw-r--r--psycopg/cursor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/psycopg/cursor.h b/psycopg/cursor.h
index 107ddb3..96a133f 100644
--- a/psycopg/cursor.h
+++ b/psycopg/cursor.h
@@ -81,6 +81,8 @@ typedef struct {
PyObject *string_types; /* a set of typecasters for string types */
PyObject *binary_types; /* a set of typecasters for binary types */
+ PyObject *weakreflist; /* list of weak references */
+
} cursorObject;
/* C-callable functions in cursor_int.c and cursor_ext.c */