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