コード例 #1
0
 public static CommandInterpreterRunOptions __CreateInstance(CommandInterpreterRunOptions.Internal native, bool skipVTables = false)
 {
     return new CommandInterpreterRunOptions(native, skipVTables);
 }
コード例 #2
0
 private static void* __CopyValue(CommandInterpreterRunOptions.Internal native)
 {
     var ret = Marshal.AllocHGlobal(4);
     *(CommandInterpreterRunOptions.Internal*) ret = native;
     return ret.ToPointer();
 }
コード例 #3
0
 private CommandInterpreterRunOptions(CommandInterpreterRunOptions.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }