示例#1
0
 public static CommandInterpreter __CreateInstance(CommandInterpreter.Internal native, bool skipVTables = false)
 {
     return new CommandInterpreter(native, skipVTables);
 }
示例#2
0
 private static void* __CopyValue(CommandInterpreter.Internal native)
 {
     var ret = Marshal.AllocHGlobal(4);
     LLDB.CommandInterpreter.Internal.cctor_0(ret, new global::System.IntPtr(&native));
     return ret.ToPointer();
 }
示例#3
0
 private CommandInterpreter(CommandInterpreter.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }