From 1892f7dcfd95b2a190aca1064398f4ca3994f693 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 11 Nov 2008 05:10:47 +0000 Subject: [PATCH] Remove field offsets from g-ir-generate output and test inputs Field offsets are a) architecture dependent so they shouldn't be part of the architecture-independent gir format which is installed in datadir. b) Are architecture-dependent so they shouldn't be in test expected output. Remove field offsets from girs. (Virtual function and discriminator offsets are not removed, as they aren't fully hooked up to the field-offset computation machinery yet.) svn path=/trunk/; revision=877 --- girepository/tools/generate.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/girepository/tools/generate.c b/girepository/tools/generate.c index c9b2f8a1b..840de7ca5 100644 --- a/girepository/tools/generate.c +++ b/girepository/tools/generate.c @@ -354,8 +354,6 @@ write_field_info (const gchar *namespace, if (size) xml_printf (file, " bits=\"%d\"", size); - xml_printf (file, " offset=\"%d\"", offset); - type = g_field_info_get_type (info); if (branch)