mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
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
This commit is contained in:
parent
2d1e6e2c5c
commit
1892f7dcfd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user