Exemplo n.º 1
0
 private static void* __CopyValue(_Rep_base.Internal native)
 {
     var ret = Marshal.AllocHGlobal(24);
     *(_Rep_base.Internal*) ret = native;
     return ret.ToPointer();
 }
Exemplo n.º 2
0
 private _Rep_base(_Rep_base.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Exemplo n.º 3
0
 public static _Rep_base __CreateInstance(_Rep_base.Internal native, bool skipVTables = false)
 {
     return new _Rep_base(native, skipVTables);
 }