plugins: sprinkle some more G_GNUC_INTERNAL
authorTim-Philipp Müller <tim@centricular.net>
Sat, 14 Jul 2012 19:00:30 +0000 (20:00 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 14 Jul 2012 19:05:53 +0000 (20:05 +0100)
18 files changed:
plugins/elements/gstcapsfilter.h
plugins/elements/gstfakesink.h
plugins/elements/gstfakesrc.h
plugins/elements/gstfdsink.h
plugins/elements/gstfdsrc.h
plugins/elements/gstfilesink.h
plugins/elements/gstfilesrc.h
plugins/elements/gstfunnel.h
plugins/elements/gstidentity.h
plugins/elements/gstinputselector.h
plugins/elements/gstmultiqueue.h
plugins/elements/gstoutputselector.h
plugins/elements/gstqueue.h
plugins/elements/gstqueue2.h
plugins/elements/gstqueuearray.h
plugins/elements/gsttee.h
plugins/elements/gsttypefindelement.h
plugins/elements/gstvalve.h

index d132e66..9db6ebc 100644 (file)
@@ -59,7 +59,7 @@ struct _GstCapsFilterClass {
   GstBaseTransformClass trans_class;
 };
 
-GType gst_capsfilter_get_type (void);
+G_GNUC_INTERNAL GType gst_capsfilter_get_type (void);
 
 G_END_DECLS
 
index 2db98b9..274b45a 100644 (file)
@@ -92,7 +92,7 @@ struct _GstFakeSinkClass {
   void (*preroll_handoff) (GstElement *element, GstBuffer *buf, GstPad *pad);
 };
 
-GType gst_fake_sink_get_type (void);
+G_GNUC_INTERNAL GType gst_fake_sink_get_type (void);
 
 G_END_DECLS
 
index 965fcb0..3ed0e60 100644 (file)
@@ -159,7 +159,7 @@ struct _GstFakeSrcClass {
   void (*handoff) (GstElement *element, GstBuffer *buf, GstPad *pad);
 };
 
-GType gst_fake_src_get_type (void);
+G_GNUC_INTERNAL GType gst_fake_src_get_type (void);
 
 G_END_DECLS
 
index 59393d0..643453d 100644 (file)
@@ -67,7 +67,7 @@ struct _GstFdSinkClass {
   GstBaseSinkClass parent_class;
 };
 
-GType gst_fd_sink_get_type(void);
+G_GNUC_INTERNAL GType gst_fd_sink_get_type (void);
 
 G_END_DECLS
 
index aac1d52..16e696f 100644 (file)
@@ -80,7 +80,7 @@ struct _GstFdSrcClass {
   void (*timeout) (GstElement *element);
 };
 
-GType gst_fd_src_get_type(void);
+G_GNUC_INTERNAL GType gst_fd_src_get_type(void);
 
 G_END_DECLS
 
index 3f0d6ce..9776550 100644 (file)
@@ -72,7 +72,7 @@ struct _GstFileSinkClass {
   GstBaseSinkClass parent_class;
 };
 
-GType gst_file_sink_get_type(void);
+G_GNUC_INTERNAL GType gst_file_sink_get_type (void);
 
 G_END_DECLS
 
index 5aa9f87..18c3c41 100644 (file)
@@ -69,7 +69,7 @@ struct _GstFileSrcClass {
   GstBaseSrcClass parent_class;
 };
 
-GType gst_file_src_get_type (void);
+G_GNUC_INTERNAL GType gst_file_src_get_type (void);
 
 G_END_DECLS
 
index 588a651..c968fca 100644 (file)
@@ -62,7 +62,7 @@ struct _GstFunnelClass {
   GstElementClass parent_class;
 };
 
-GType   gst_funnel_get_type        (void);
+G_GNUC_INTERNAL GType   gst_funnel_get_type        (void);
 
 G_END_DECLS
 
index e02557b..835cf94 100644 (file)
@@ -81,7 +81,7 @@ struct _GstIdentityClass {
   void (*handoff) (GstElement *element, GstBuffer *buf);
 };
 
-GType gst_identity_get_type(void);
+G_GNUC_INTERNAL GType gst_identity_get_type (void);
 
 G_END_DECLS
 
index dd48a51..2bfcd3e 100644 (file)
@@ -84,7 +84,7 @@ struct _GstInputSelectorClass {
   gint64 (*block)      (GstInputSelector *self);
 };
 
-GType gst_input_selector_get_type (void);
+G_GNUC_INTERNAL GType gst_input_selector_get_type (void);
 
 G_END_DECLS
 
index 04c7501..986dc22 100644 (file)
@@ -84,7 +84,7 @@ struct _GstMultiQueueClass {
   void (*overrun)      (GstMultiQueue *queue);
 };
 
-GType gst_multi_queue_get_type (void);
+G_GNUC_INTERNAL GType gst_multi_queue_get_type (void);
 
 G_END_DECLS
 
index 8c55b44..b2a4728 100644 (file)
@@ -61,7 +61,7 @@ struct _GstOutputSelectorClass {
   GstElementClass parent_class;
 };
 
-GType gst_output_selector_get_type (void);
+G_GNUC_INTERNAL GType gst_output_selector_get_type (void);
 
 G_END_DECLS
 
index e959f42..fd97042 100644 (file)
@@ -148,7 +148,7 @@ struct _GstQueueClass {
   void (*pushing)       (GstQueue *queue);
 };
 
-GType gst_queue_get_type (void);
+G_GNUC_INTERNAL GType gst_queue_get_type (void);
 
 G_END_DECLS
 
index 25beef4..b69f46b 100644 (file)
@@ -156,7 +156,7 @@ struct _GstQueue2Class
   GstElementClass parent_class;
 };
 
-GType gst_queue2_get_type (void);
+G_GNUC_INTERNAL GType gst_queue2_get_type (void);
 
 G_END_DECLS
 
index dd28993..510cbf4 100644 (file)
@@ -35,17 +35,27 @@ struct _GstQueueArray
   guint length;
 };
 
-void gst_queue_array_init (GstQueueArray * array, guint initial_size);
-void gst_queue_array_clear (GstQueueArray * array);
-
-GstQueueArray *gst_queue_array_new (guint initial_size);
-gpointer gst_queue_array_pop_head (GstQueueArray * array);
-void gst_queue_array_push_tail (GstQueueArray * array, gpointer data);
-gboolean gst_queue_array_is_empty (GstQueueArray * array);
-void gst_queue_array_free (GstQueueArray * array);
-
-void gst_queue_array_drop_element (GstQueueArray * array, guint idx);
-guint gst_queue_array_find (GstQueueArray * array, GCompareFunc func,
-    gpointer data);
+G_GNUC_INTERNAL void            gst_queue_array_init  (GstQueueArray * array,
+                                                       guint           initial_size);
+
+G_GNUC_INTERNAL void            gst_queue_array_clear (GstQueueArray * array);
+
+G_GNUC_INTERNAL GstQueueArray * gst_queue_array_new       (guint initial_size);
+
+G_GNUC_INTERNAL gpointer        gst_queue_array_pop_head  (GstQueueArray * array);
+
+G_GNUC_INTERNAL void            gst_queue_array_push_tail (GstQueueArray * array,
+                                                           gpointer        data);
+
+G_GNUC_INTERNAL gboolean        gst_queue_array_is_empty  (GstQueueArray * array);
+
+G_GNUC_INTERNAL void            gst_queue_array_free      (GstQueueArray * array);
+
+G_GNUC_INTERNAL void            gst_queue_array_drop_element (GstQueueArray * array,
+                                                              guint           idx);
+
+G_GNUC_INTERNAL guint           gst_queue_array_find (GstQueueArray * array,
+                                                      GCompareFunc    func,
+                                                      gpointer        data);
 
 #endif
index c48ad2a..5d00947 100644 (file)
@@ -86,7 +86,7 @@ struct _GstTeeClass {
   GstElementClass parent_class;
 };
 
-GType  gst_tee_get_type        (void);
+G_GNUC_INTERNAL GType  gst_tee_get_type        (void);
 
 G_END_DECLS
 
index 7d67799..2ee3325 100644 (file)
@@ -74,7 +74,7 @@ struct _GstTypeFindElementClass {
                                         GstCaps            *caps);
 };
 
-GType gst_type_find_element_get_type (void);
+G_GNUC_INTERNAL GType gst_type_find_element_get_type (void);
 
 G_END_DECLS
 
index d1d9bbb..c12c7c7 100644 (file)
@@ -70,7 +70,7 @@ struct _GstValveClass
   GstElementClass parent_class;
 };
 
-GType gst_valve_get_type (void);
+G_GNUC_INTERNAL GType gst_valve_get_type (void);
 
 G_END_DECLS