internal BTreeStatStruct stat_bt(DB_TXN txn, uint flags) { int err = 0; IntPtr ptr = stat(txn, flags, ref err); DatabaseException.ThrowException(err); BTreeStatStruct ret = (BTreeStatStruct)Marshal.PtrToStructure(ptr, typeof(BTreeStatStruct)); libdb_csharp.__os_ufree(null, ptr); return(ret); }
internal BTreeStats(Internal.BTreeStatStruct stats) { st = stats; }
internal RecnoStats(Internal.BTreeStatStruct stats) { st = stats; }