diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
|---|---|---|
| committer | <> | 2015-03-17 16:26:24 +0000 |
| commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
| tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /lang/csharp/src/Internal/DBC.cs | |
| parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
| download | berkeleydb-master.tar.gz | |
Diffstat (limited to 'lang/csharp/src/Internal/DBC.cs')
| -rw-r--r-- | lang/csharp/src/Internal/DBC.cs | 14 |
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); |
