Esempio n. 1
0
        private static void *__CopyValue(global::Leveldb.Iterator.__Internal native)
        {
            var ret = Marshal.AllocHGlobal(sizeof(global::Leveldb.Iterator.__Internal));

            *(global::Leveldb.Iterator.__Internal *)ret = native;
            return(ret.ToPointer());
        }
Esempio n. 2
0
 private Iterator(global::Leveldb.Iterator.__Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance           = true;
     NativeToManagedMap[__Instance] = this;
 }
Esempio n. 3
0
 internal static global::Leveldb.Iterator __CreateInstance(global::Leveldb.Iterator.__Internal native, bool skipVTables = false)
 {
     return(new global::Leveldb.Iterator(native, skipVTables));
 }