Exemplo n.º 1
0
        internal SequenceStatStruct stat(uint flags)
        {
            int    err = 0;
            IntPtr ptr = stat(flags, ref err);

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

            libdb_csharp.__os_ufree(null, ptr);
            return(ret);
        }
Exemplo n.º 2
0
 internal SequenceStats(Internal.SequenceStatStruct stats)
 {
     st = stats;
 }
Exemplo n.º 3
0
 internal SequenceStats(Internal.SequenceStatStruct stats)
 {
     st = stats;
 }