Original commit message from CVS:
* gst/gsttypefind.c: (gst_type_find_get_type):
* gst/gsttypefind.h:
Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
registered for GstTypeFind pointers. This allows wrapping the structure
in bindings (i.e. gst-python).
+2006-05-18 Edward Hervey <edward@fluendo.com>
+
+ * gst/gsttypefind.c: (gst_type_find_get_type):
+ * gst/gsttypefind.h:
+ Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
+ registered for GstTypeFind pointers. This allows wrapping the structure
+ in bindings (i.e. gst-python).
+
2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
* gst/gsttagsetter.c:
GST_DEBUG_CATEGORY_EXTERN (gst_type_find_debug);
#define GST_CAT_DEFAULT gst_type_find_debug
+GType
+gst_type_find_get_type (void)
+{
+ static GType typefind_type = 0;
+
+ if (G_UNLIKELY (typefind_type == 0)) {
+ typefind_type = g_pointer_type_register_static ("GstTypeFind");
+ }
+ return typefind_type;
+}
+
/**
* gst_type_find_register:
* @plugin: A #GstPlugin.
G_BEGIN_DECLS
+#define GST_TYPE_TYPE_FIND (gst_type_find_get_type())
+
typedef struct _GstTypeFind GstTypeFind;
/**
gpointer _gst_reserved[GST_PADDING];
};
+GType gst_type_find_get_type (void);
+
/* typefind function interface */
guint8 * gst_type_find_peek (GstTypeFind * find,
gint64 offset,