mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 08:42:32 +00:00
siren: remove unneeded structure padding
Public headers are private and not installed.
This commit is contained in:
parent
2a6446e519
commit
bedb735d72
3 changed files with 7 additions and 12 deletions
|
@ -27,7 +27,7 @@
|
||||||
#include <gst/base/gstbasetransform.h>
|
#include <gst/base/gstbasetransform.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
/* #define's don't like whitespacey bits */
|
|
||||||
#define GST_TYPE_SIREN \
|
#define GST_TYPE_SIREN \
|
||||||
(gst_siren_get_type())
|
(gst_siren_get_type())
|
||||||
#define GST_SIREN(obj) \
|
#define GST_SIREN(obj) \
|
||||||
|
@ -40,24 +40,18 @@ G_BEGIN_DECLS
|
||||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SIREN))
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SIREN))
|
||||||
#define GST_IS_SIREN_CLASS(obj) \
|
#define GST_IS_SIREN_CLASS(obj) \
|
||||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SIREN))
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SIREN))
|
||||||
|
|
||||||
typedef struct _GstSiren GstSiren;
|
typedef struct _GstSiren GstSiren;
|
||||||
typedef struct _GstSirenClass GstSirenClass;
|
typedef struct _GstSirenClass GstSirenClass;
|
||||||
typedef struct _GstSirenPrivate GstSirenPrivate;
|
|
||||||
|
|
||||||
struct _GstSiren
|
struct _GstSiren
|
||||||
{
|
{
|
||||||
GstBaseTransform parent;
|
GstBaseTransform parent;
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstSirenClass
|
struct _GstSirenClass
|
||||||
{
|
{
|
||||||
GstBaseTransformClass parent_class;
|
GstBaseTransformClass parent_class;
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_siren_get_type (void);
|
GType gst_siren_get_type (void);
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "siren7.h"
|
#include "siren7.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
/* #define's don't like whitespacey bits */
|
|
||||||
#define GST_TYPE_SIREN_DEC \
|
#define GST_TYPE_SIREN_DEC \
|
||||||
(gst_siren_dec_get_type())
|
(gst_siren_dec_get_type())
|
||||||
#define GST_SIREN_DEC(obj) \
|
#define GST_SIREN_DEC(obj) \
|
||||||
|
@ -42,9 +42,9 @@ G_BEGIN_DECLS
|
||||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SIREN_DEC))
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SIREN_DEC))
|
||||||
#define GST_IS_SIREN_DEC_CLASS(obj) \
|
#define GST_IS_SIREN_DEC_CLASS(obj) \
|
||||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SIREN_DEC))
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SIREN_DEC))
|
||||||
|
|
||||||
typedef struct _GstSirenDec GstSirenDec;
|
typedef struct _GstSirenDec GstSirenDec;
|
||||||
typedef struct _GstSirenDecClass GstSirenDecClass;
|
typedef struct _GstSirenDecClass GstSirenDecClass;
|
||||||
typedef struct _GstSirenDecPrivate GstSirenDecPrivate;
|
|
||||||
|
|
||||||
struct _GstSirenDec
|
struct _GstSirenDec
|
||||||
{
|
{
|
||||||
|
@ -64,4 +64,5 @@ GType gst_siren_dec_get_type (void);
|
||||||
gboolean gst_siren_dec_plugin_init (GstPlugin * plugin);
|
gboolean gst_siren_dec_plugin_init (GstPlugin * plugin);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GST_SIREN_DEC_H__ */
|
#endif /* __GST_SIREN_DEC_H__ */
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "siren7.h"
|
#include "siren7.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
/* #define's don't like whitespacey bits */
|
|
||||||
#define GST_TYPE_SIREN_ENC \
|
#define GST_TYPE_SIREN_ENC \
|
||||||
(gst_siren_enc_get_type())
|
(gst_siren_enc_get_type())
|
||||||
#define GST_SIREN_ENC(obj) \
|
#define GST_SIREN_ENC(obj) \
|
||||||
|
@ -42,9 +42,9 @@ G_BEGIN_DECLS
|
||||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SIREN_ENC))
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SIREN_ENC))
|
||||||
#define GST_IS_SIREN_ENC_CLASS(obj) \
|
#define GST_IS_SIREN_ENC_CLASS(obj) \
|
||||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SIREN_ENC))
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SIREN_ENC))
|
||||||
|
|
||||||
typedef struct _GstSirenEnc GstSirenEnc;
|
typedef struct _GstSirenEnc GstSirenEnc;
|
||||||
typedef struct _GstSirenEncClass GstSirenEncClass;
|
typedef struct _GstSirenEncClass GstSirenEncClass;
|
||||||
typedef struct _GstSirenEncPrivate GstSirenEncPrivate;
|
|
||||||
|
|
||||||
struct _GstSirenEnc
|
struct _GstSirenEnc
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue