Chun-wei Fan 4dafb4d5cf girepository: Properly acquire and check pointer values
On Windows (Visual Studio at least), unsigned longs are always 4 bytes,
on both 32-bit and x64 Windows, so we cannot use unsigned longs to deal
with pointers on 64-bit builds, as pointers are 8 bytes on 64-bit
Windows, which may well render the pointer (which we acquired from
libffi) invalid.

This will fix crashes in PyGObject which are manifested when launching
the cairo-demo example sript (intermittent) and when clicking on
"Interactive Dialog" button in the Dialog demo in the PyGObject GTK+
Code demos before entering anything in Entry 1 and Entry 2, when running
on x64 Visual Studio builds of the GTK+/PyGObject stack.

Also use size_t instead of unsigned long in gthash.c when we check that
memory & 0x3 is 0, to silence compiler warnings from enabling /Wp64,
which is used to detect portability problems on Visual Studio when
doing x86->x64 code builds.

https://bugzilla.gnome.org/show_bug.cgi?id=702788
2018-04-20 18:26:08 +02:00
2012-10-16 10:58:08 -04:00
2013-10-10 16:48:51 -04:00
2016-05-08 15:35:13 -04:00
2012-10-16 10:58:08 -04:00
2018-01-30 13:43:28 +00:00
2018-01-30 14:01:06 +00:00
2013-10-10 16:48:51 -04:00
2012-02-03 13:42:56 -05:00
2013-10-10 16:48:51 -04:00
2012-02-03 13:42:56 -05:00
2012-02-03 13:42:56 -05:00
2017-12-19 18:51:39 +00:00
2012-10-16 10:58:08 -04:00
Description
Low-level core library that forms the basis for projects such as GTK+ and GNOME.
123 MiB
Languages
C 95.3%
Python 2.3%
Meson 1.3%
Objective-C 0.3%
Shell 0.2%
Other 0.5%