summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>2008-11-11 05:10:47 +0000
committerOwen Taylor <otaylor@src.gnome.org>2008-11-11 05:10:47 +0000
commit0dccc4596aad89333f7d23b2f95a19067df79724 (patch)
tree73bd88a8c7b007541f7cde61baa538e0061db941 /tools
parent7e1e368b9f09835a4c65c3e8ff7780523893180d (diff)
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
Diffstat (limited to 'tools')
-rw-r--r--tools/generate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/generate.c b/tools/generate.c
index c9b2f8a..840de7c 100644
--- a/tools/generate.c
+++ b/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)