Пример #1
0
 public LLDB.Command AddMultiwordCommand(string name, string help)
 {
     var arg0 = Marshal.StringToHGlobalAnsi(name);
     var arg1 = Marshal.StringToHGlobalAnsi(help);
     var __ret = new LLDB.Command.Internal();
     Internal.AddMultiwordCommand_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, arg1);
     Marshal.FreeHGlobal(arg0);
     Marshal.FreeHGlobal(arg1);
     return LLDB.Command.__CreateInstance(__ret);
 }
Пример #2
0
 public LLDB.Command AddCommand(string name, LLDB.CommandPluginInterface impl, string help)
 {
     var arg0 = Marshal.StringToHGlobalAnsi(name);
     var arg1 = ReferenceEquals(impl, null) ? global::System.IntPtr.Zero : impl.__Instance;
     var arg2 = Marshal.StringToHGlobalAnsi(help);
     var __ret = new LLDB.Command.Internal();
     Internal.AddCommand_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, arg1, arg2);
     Marshal.FreeHGlobal(arg0);
     Marshal.FreeHGlobal(arg2);
     return LLDB.Command.__CreateInstance(__ret);
 }