diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2014-12-28 00:58:04 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-12-28 00:58:04 +0000 |
commit | bedb735d7271c10c3a66167545fa18e2319175f2 (patch) | |
tree | 7ba0bda6f2d48a0d0d8a936d05839f23a324464e /gst/siren | |
parent | 2a6446e5193f4eb20780994e363b0f25a0395c99 (diff) |
siren: remove unneeded structure padding
Public headers are private and not installed.
Diffstat (limited to 'gst/siren')
-rw-r--r-- | gst/siren/gstsiren.h | 10 | ||||
-rw-r--r-- | gst/siren/gstsirendec.h | 5 | ||||
-rw-r--r-- | gst/siren/gstsirenenc.h | 4 |
3 files changed, 7 insertions, 12 deletions
diff --git a/gst/siren/gstsiren.h b/gst/siren/gstsiren.h index 6117cc169..40b1be1af 100644 --- a/gst/siren/gstsiren.h +++ b/gst/siren/gstsiren.h @@ -27,7 +27,7 @@ #include <gst/base/gstbasetransform.h> G_BEGIN_DECLS -/* #define's don't like whitespacey bits */ + #define GST_TYPE_SIREN \ (gst_siren_get_type()) #define GST_SIREN(obj) \ @@ -40,24 +40,18 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SIREN)) #define GST_IS_SIREN_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SIREN)) + typedef struct _GstSiren GstSiren; typedef struct _GstSirenClass GstSirenClass; -typedef struct _GstSirenPrivate GstSirenPrivate; struct _GstSiren { GstBaseTransform parent; - - /*< private > */ - gpointer _gst_reserved[GST_PADDING]; }; struct _GstSirenClass { GstBaseTransformClass parent_class; - - /*< private > */ - gpointer _gst_reserved[GST_PADDING]; }; GType gst_siren_get_type (void); diff --git a/gst/siren/gstsirendec.h b/gst/siren/gstsirendec.h index bcb55cdd1..27d7c86c8 100644 --- a/gst/siren/gstsirendec.h +++ b/gst/siren/gstsirendec.h @@ -29,7 +29,7 @@ #include "siren7.h" G_BEGIN_DECLS -/* #define's don't like whitespacey bits */ + #define GST_TYPE_SIREN_DEC \ (gst_siren_dec_get_type()) #define GST_SIREN_DEC(obj) \ @@ -42,9 +42,9 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SIREN_DEC)) #define GST_IS_SIREN_DEC_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SIREN_DEC)) + typedef struct _GstSirenDec GstSirenDec; typedef struct _GstSirenDecClass GstSirenDecClass; -typedef struct _GstSirenDecPrivate GstSirenDecPrivate; struct _GstSirenDec { @@ -64,4 +64,5 @@ GType gst_siren_dec_get_type (void); gboolean gst_siren_dec_plugin_init (GstPlugin * plugin); G_END_DECLS + #endif /* __GST_SIREN_DEC_H__ */ diff --git a/gst/siren/gstsirenenc.h b/gst/siren/gstsirenenc.h index 9351bd27f..acfb5e673 100644 --- a/gst/siren/gstsirenenc.h +++ b/gst/siren/gstsirenenc.h @@ -29,7 +29,7 @@ #include "siren7.h" G_BEGIN_DECLS -/* #define's don't like whitespacey bits */ + #define GST_TYPE_SIREN_ENC \ (gst_siren_enc_get_type()) #define GST_SIREN_ENC(obj) \ @@ -42,9 +42,9 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SIREN_ENC)) #define GST_IS_SIREN_ENC_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SIREN_ENC)) + typedef struct _GstSirenEnc GstSirenEnc; typedef struct _GstSirenEncClass GstSirenEncClass; -typedef struct _GstSirenEncPrivate GstSirenEncPrivate; struct _GstSirenEnc { |