summaryrefslogtreecommitdiff
path: root/lang/csharp/src/Internal/DBC.cs
diff options
context:
space:
mode:
Diffstat (limited to 'lang/csharp/src/Internal/DBC.cs')
-rw-r--r--lang/csharp/src/Internal/DBC.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/lang/csharp/src/Internal/DBC.cs b/lang/csharp/src/Internal/DBC.cs
index 25ed7ee4..c32d5453 100644
--- a/lang/csharp/src/Internal/DBC.cs
+++ b/lang/csharp/src/Internal/DBC.cs
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.4
+ * Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@@ -47,6 +47,12 @@ internal class DBC : IDisposable {
DatabaseException.ThrowException(err);
return ret;
}
+ internal DB_STREAM db_stream(uint flags) {
+ int err = 0;
+ DB_STREAM ret = db_stream(flags, ref err);
+ DatabaseException.ThrowException(err);
+ return ret;
+ }
internal int close() {
int ret = libdb_csharpPINVOKE.DBC_close(swigCPtr);
@@ -72,6 +78,12 @@ internal class DBC : IDisposable {
return ret;
}
+ private DB_STREAM db_stream(uint flags, ref int err) {
+ IntPtr cPtr = libdb_csharpPINVOKE.DBC_db_stream(swigCPtr, flags, ref err);
+ DB_STREAM ret = (cPtr == IntPtr.Zero) ? null : new DB_STREAM(cPtr, false);
+ return ret;
+ }
+
internal int del(uint flags) {
int ret;
ret = libdb_csharpPINVOKE.DBC_del(swigCPtr, flags);