[gst-cvs] gst-plugins-base: interfaces: Seperate some more struct definitions from typedefs
Sebastian Dröge
slomo at kemper.freedesktop.org
Tue May 12 00:04:13 PDT 2009
Module: gst-plugins-base
Branch: master
Commit: 24dd91b1f01a7cd3b63bc6bbc1e3230471b6e939
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=24dd91b1f01a7cd3b63bc6bbc1e3230471b6e939
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Mon May 11 18:29:34 2009 +0200
interfaces: Seperate some more struct definitions from typedefs
---
gst-libs/gst/interfaces/tunernorm.h | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/gst-libs/gst/interfaces/tunernorm.h b/gst-libs/gst/interfaces/tunernorm.h
index f306f1a..d93cb13 100644
--- a/gst-libs/gst/interfaces/tunernorm.h
+++ b/gst-libs/gst/interfaces/tunernorm.h
@@ -37,25 +37,28 @@ G_BEGIN_DECLS
#define GST_IS_TUNER_NORM_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_TUNER_NORM))
+typedef struct _GstTunerNorm GstTunerNorm;
+typedef struct _GstTunerNormClass GstTunerNormClass;
+
/**
* GstTunerNorm:
* @label: A string containing a descriptive name for the norm
* @framerate: A GValue containing the framerate associated with this norm,
* if any. (May be unset).
*/
-typedef struct _GstTunerNorm {
+struct _GstTunerNorm {
GObject parent;
/*< public >*/
gchar *label;
GValue framerate;
-} GstTunerNorm;
+};
-typedef struct _GstTunerNormClass {
+struct _GstTunerNormClass {
GObjectClass parent;
gpointer _gst_reserved[GST_PADDING];
-} GstTunerNormClass;
+};
GType gst_tuner_norm_get_type (void);
More information about the Gstreamer-commits
mailing list