mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 09:58:54 +02:00
girepository: Remove C99ism and other updates
-Make code using libgirepository_internals relocatable on Windows, like what is done in the GTK+ stack, and the girepository DLL. -Remove C99isms -"interface" is a reserved keyword on certain compilers, so change that to "giinterface" https://bugzilla.gnome.org/show_bug.cgi?id=681820
This commit is contained in:
committed by
Colin Walters
parent
c449db7704
commit
08da5d65ee
@@ -190,10 +190,10 @@ get_interface_size_alignment (GIrTypelibBuild *build,
|
||||
{
|
||||
GIrNode *iface;
|
||||
|
||||
iface = _g_ir_find_node (build, ((GIrNode*)type)->module, type->interface);
|
||||
iface = _g_ir_find_node (build, ((GIrNode*)type)->module, type->giinterface);
|
||||
if (!iface)
|
||||
{
|
||||
_g_ir_module_fatal (build, 0, "Can't resolve type '%s' for %s", type->interface, who);
|
||||
_g_ir_module_fatal (build, 0, "Can't resolve type '%s' for %s", type->giinterface, who);
|
||||
*size = -1;
|
||||
*alignment = -1;
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user