siren: remove unneeded structure padding

Public headers are private and not installed.
This commit is contained in:
Tim-Philipp Müller 2014-12-28 00:58:04 +00:00
parent 2a6446e519
commit bedb735d72
3 changed files with 7 additions and 12 deletions

View file

@ -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);

View file

@ -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__ */

View file

@ -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
{