private static void *__CopyValue(global::Leveldb.Writablefile.__Internal native) { var ret = Marshal.AllocHGlobal(sizeof(global::Leveldb.Writablefile.__Internal)); *(global::Leveldb.Writablefile.__Internal *)ret = native; return(ret.ToPointer()); }
private Writablefile(global::Leveldb.Writablefile.__Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
internal static global::Leveldb.Writablefile __CreateInstance(global::Leveldb.Writablefile.__Internal native, bool skipVTables = false) { return(new global::Leveldb.Writablefile(native, skipVTables)); }