diff options
author | Edward Hervey <edward.hervey@collabora.co.uk> | 2010-11-29 13:24:13 +0100 |
---|---|---|
committer | Edward Hervey <edward.hervey@collabora.co.uk> | 2010-11-29 13:24:13 +0100 |
commit | 849d6ab872d41dfd510dbb54b96e4df063b58d26 (patch) | |
tree | b88fa6241a8682dfa66abfdd805f441be9b7b20b /ges/ges-formatter.h | |
parent | 284b956654f68fd50615d61716c98e805e0ac20c (diff) |
ges: Add padding to all public structures
This will give us margin for API expansion without breaking ABI.
The ABI restriction will only come in place once we do the first
official release (i.e. 0.x.0).
Diffstat (limited to 'ges/ges-formatter.h')
-rw-r--r-- | ges/ges-formatter.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ges/ges-formatter.h b/ges/ges-formatter.h index 3575fa76..4a8fe64b 100644 --- a/ges/ges-formatter.h +++ b/ges/ges-formatter.h @@ -54,7 +54,8 @@ struct _GESFormatter { gchar *data; gsize length; - gpointer _ges_reserved[GST_PADDING]; + /* Padding for API extension */ + gpointer _ges_reserved[GES_PADDING]; }; typedef gboolean (*GESFormatterCanLoadURIMethod) (gchar * uri); @@ -125,7 +126,9 @@ struct _GESFormatterClass { GESFormatterSaveMethod save; GESFormatterLoadMethod load; - gpointer _ges_reserved[GST_PADDING]; + /*< private >*/ + /* Padding for API extension */ + gpointer _ges_reserved[GES_PADDING]; }; GType ges_formatter_get_type (void); |