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