add padding

Original commit message from CVS:
add padding
This commit is contained in:
Thomas Vander Stichele 2004-03-15 22:42:34 +00:00
parent 1cedbe04e1
commit 982e1f69c1
3 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstcaps.h:
* gst/gststructure.h:
add reserved padding
2004-03-15 Benjamin Otte <otte@gnome.org> 2004-03-15 Benjamin Otte <otte@gnome.org>
* gst/elements/gstfdsrc.c: (gst_fdsrc_get): * gst/elements/gstfdsrc.c: (gst_fdsrc_get):

View file

@ -59,11 +59,14 @@ struct _GstCaps {
guint16 flags; guint16 flags;
GPtrArray *structs; GPtrArray *structs;
gpointer _gst_reserved[GST_PADDING];
}; };
struct _GstStaticCaps { struct _GstStaticCaps {
GstCaps caps; GstCaps caps;
const char *string; const char *string;
gpointer _gst_reserved[GST_PADDING];
}; };
GType gst_caps_get_type (void) G_GNUC_CONST; GType gst_caps_get_type (void) G_GNUC_CONST;

View file

@ -41,6 +41,8 @@ struct _GstStructure {
GQuark name; GQuark name;
GArray *fields; GArray *fields;
gpointer _gst_reserved[GST_PADDING];
}; };
GType gst_structure_get_type (void) G_GNUC_CONST; GType gst_structure_get_type (void) G_GNUC_CONST;