mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 17:55:27 +00:00
2005-02-28 Mike Kestner <mkestner@novell.com>
* pango/Context.custom : use ReadIntPtr (ptr, offset) for 64 bit. * pango/FontFamily.custom : use ReadIntPtr (ptr, offset) for 64 bit. * pango/FontMap.custom : use ReadIntPtr (ptr, offset) for 64 bit. * pango/Layout.custom : use ReadIntPtr (ptr, offset) for 64 bit. svn path=/trunk/gtk-sharp/; revision=57399
This commit is contained in:
parent
b2e4fc3fa8
commit
0ae0904afd
|
@ -1,3 +1,10 @@
|
|||
2005-02-28 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* pango/Context.custom : use ReadIntPtr (ptr, offset) for 64 bit.
|
||||
* pango/FontFamily.custom : use ReadIntPtr (ptr, offset) for 64 bit.
|
||||
* pango/FontMap.custom : use ReadIntPtr (ptr, offset) for 64 bit.
|
||||
* pango/Layout.custom : use ReadIntPtr (ptr, offset) for 64 bit.
|
||||
|
||||
2005-02-28 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* gdk/Region.custom : 64 bit fix for ptr arithmetic. [Fixes #77658]
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
return new FontFamily [0];
|
||||
FontFamily [] result = new FontFamily [count];
|
||||
for (int i = 0; i < count; i++) {
|
||||
IntPtr fam_ptr = Marshal.ReadIntPtr (new IntPtr ((int)array_ptr + i * IntPtr.Size));
|
||||
IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size);
|
||||
result [i] = GLib.Object.GetObject (fam_ptr) as FontFamily;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
return new FontFace [0];
|
||||
FontFace [] result = new FontFace [count];
|
||||
for (int i = 0; i < count; i++) {
|
||||
IntPtr fam_ptr = Marshal.ReadIntPtr (new IntPtr ((int)array_ptr + i * IntPtr.Size));
|
||||
IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size);
|
||||
result [i] = GLib.Object.GetObject (fam_ptr) as FontFace;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
return new FontFamily [0];
|
||||
FontFamily [] result = new FontFamily [count];
|
||||
for (int i = 0; i < count; i++) {
|
||||
IntPtr fam_ptr = Marshal.ReadIntPtr (new IntPtr ((int)array_ptr + i * IntPtr.Size));
|
||||
IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size);
|
||||
result [i] = GLib.Object.GetObject (fam_ptr) as FontFamily;
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ public void SetMarkupWithAccel (string markup, char accel_marker, out char accel
|
|||
return new LogAttr [0];
|
||||
LogAttr [] result = new LogAttr [count];
|
||||
for (int i = 0; i < count; i++) {
|
||||
IntPtr fam_ptr = Marshal.ReadIntPtr (new IntPtr ((int)array_ptr + i * IntPtr.Size));
|
||||
IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size);
|
||||
result [i] = LogAttr.New (fam_ptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue