private static void *__CopyValue(global::osu.Desktop.Updater.Std.Allocator.__Internal native) { var ret = Marshal.AllocHGlobal(sizeof(global::osu.Desktop.Updater.Std.Allocator.__Internal)); *(global::osu.Desktop.Updater.Std.Allocator.__Internal *)ret = native; return(ret.ToPointer()); }
private Allocator(global::osu.Desktop.Updater.Std.Allocator.__Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
internal static global::osu.Desktop.Updater.Std.Allocator <_Tp> __CreateInstance(global::osu.Desktop.Updater.Std.Allocator.__Internal native, bool skipVTables = false) { return(new global::osu.Desktop.Updater.Std.Allocator <_Tp>(native, skipVTables)); }