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