Exemple #1
0
        internal HeapStatStruct stat_heap(DB_TXN txn, uint flags)
        {
            int    err = 0;
            IntPtr ptr = stat(txn, flags, ref err);

            DatabaseException.ThrowException(err);
            HeapStatStruct ret = (HeapStatStruct)Marshal.PtrToStructure(ptr, typeof(HeapStatStruct));

            libdb_csharp.__os_ufree(null, ptr);
            return(ret);
        }
Exemple #2
0
 internal HeapStats(Internal.HeapStatStruct stats)
 {
     st = stats;
 }
Exemple #3
0
 internal HeapStats(Internal.HeapStatStruct stats)
 {
     st = stats;
 }