Ejemplo n.º 1
0
 public static TypeMemberFunction __CreateInstance(TypeMemberFunction.Internal native, bool skipVTables = false)
 {
     return new TypeMemberFunction(native, skipVTables);
 }
Ejemplo n.º 2
0
 private static void* __CopyValue(TypeMemberFunction.Internal native)
 {
     var ret = Marshal.AllocHGlobal(8);
     LLDB.TypeMemberFunction.Internal.cctor_1(ret, new global::System.IntPtr(&native));
     return ret.ToPointer();
 }
Ejemplo n.º 3
0
 private TypeMemberFunction(TypeMemberFunction.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }