Наследование: IDisposable
Пример #1
0
 public static InputReader __CreateInstance(InputReader.Internal native, bool skipVTables = false)
 {
     return new InputReader(native, skipVTables);
 }
Пример #2
0
 private static void* __CopyValue(InputReader.Internal native)
 {
     var ret = Marshal.AllocHGlobal(0);
     *(InputReader.Internal*) ret = native;
     return ret.ToPointer();
 }
Пример #3
0
 private InputReader(InputReader.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }