Exemplo n.º 1
0
Arquivo: DBC.cs Projeto: joegana/BDBC
        private DB_STREAM db_stream(uint flags, ref int err)
        {
            global::System.IntPtr cPtr = libdb_csharpPINVOKE.DBC_db_stream(swigCPtr, flags, ref err);
            DB_STREAM             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DB_STREAM(cPtr, false);

            return(ret);
        }
Exemplo n.º 2
0
 internal DatabaseStream(DB_STREAM dbstream,
     DatabaseStreamConfig config)
 {
     this.dbs = dbstream;
     isOpen = true;
     this.config = config;
 }
Exemplo n.º 3
0
Arquivo: DBC.cs Projeto: joegana/BDBC
        internal DB_STREAM db_stream(uint flags)
        {
            int       err = 0;
            DB_STREAM ret = db_stream(flags, ref err);

            DatabaseException.ThrowException(err);
            return(ret);
        }
Exemplo n.º 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DB_STREAM obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 5
0
 internal static HandleRef getCPtr(DB_STREAM obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 6
0
 internal static HandleRef getCPtr(DB_STREAM obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }