summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-04-03 15:04:36 -0400
committerSusan LoVerso <sue@wiredtiger.com>2014-04-03 15:04:36 -0400
commitf4d482a2346bd6a8f7f0f743341bc0f90aee207c (patch)
treef19b511e76ea0f4f5db2d1b02ceab4b8d59e1adc /lang/python
parentc30f5dec4adfd5ddaf4d412dfa1872945a90c43d (diff)
downloadmongo-f4d482a2346bd6a8f7f0f743341bc0f90aee207c.tar.gz
Python fixes.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/wiredtiger.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/lang/python/wiredtiger.i b/lang/python/wiredtiger.i
index d23252ca44a..3508f25e93b 100644
--- a/lang/python/wiredtiger.i
+++ b/lang/python/wiredtiger.i
@@ -282,6 +282,7 @@ class IterableCursor:
%enddef
SELFHELPER(struct __wt_connection, connection)
+SELFHELPER(struct __wt_async_op, asyncop)
SELFHELPER(struct __wt_session, session)
SELFHELPER(struct __wt_cursor, cursor)
@@ -718,7 +719,13 @@ typedef int int_void;
%ignore __wt_cursor::key_format;
%ignore __wt_cursor::value_format;
%immutable __wt_session::connection;
+%immutable __wt_async_op::connection;
+%immutable __wt_async_op::uri;
+%immutable __wt_async_op::config;
+%ignore __wt_async_op::key_format;
+%ignore __wt_async_op::value_format;
+%ignore __wt_async_callback;
%ignore __wt_collator;
%ignore __wt_compressor;
%ignore __wt_config_item;
@@ -744,6 +751,7 @@ typedef int int_void;
/* Convert 'int *' to output args for wiredtiger_version */
%apply int *OUTPUT { int * };
+%rename(Asyncop) __wt_async_op;
%rename(Cursor) __wt_cursor;
%rename(Session) __wt_session;
%rename(Connection) __wt_connection;