repository: Fix conversion of FFI values on big-endian architectures
authorMichel Dänzer <michel@daenzer.net>
Thu, 16 Feb 2012 16:25:55 +0000 (11:25 -0500)
committerColin Walters <walters@verbum.org>
Mon, 5 Mar 2012 14:56:55 +0000 (09:56 -0500)
commitbf71aba06ccbd3ae4b49133724389cf76108f6d9
tree66761777262426d64a71b3ffd4be7c2c5b06dcdc
parent117a8fb7cc7602a6e66f2ea88122f4f04f369220
repository: Fix conversion of FFI values on big-endian architectures

Adapted from the fixes for (see bug 665152). It makes sure values are
properly converted between glib and FFI, which is critical for big
endian architectures.

Patch adjusted to use GIArgument instead of custom union types
by Colin Walters <walters@verbum.org>

https://bugzilla.gnome.org/show_bug.cgi?id=668902
girepository/gicallableinfo.c
girepository/ginvoke.c