plugins: sprinkle G_GNUC_INTERNAL for dataqueue functions
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 9 Jul 2012 19:55:00 +0000 (20:55 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 9 Jul 2012 19:55:39 +0000 (20:55 +0100)
And remove padding, since this is not public API any more.

plugins/elements/gstdataqueue.h

index ca86d7f..5f24ca2 100644 (file)
@@ -138,7 +138,7 @@ struct _GstDataQueue
   GstDataQueueFullCallback fullcallback;
   GstDataQueueEmptyCallback emptycallback;
 
-  gpointer _gst_reserved[GST_PADDING];
+  /* gpointer _gst_reserved[GST_PADDING]; */
 };
 
 struct _GstDataQueueClass
@@ -149,31 +149,47 @@ struct _GstDataQueueClass
   void (*empty) (GstDataQueue * queue);
   void (*full) (GstDataQueue * queue);
 
-  gpointer _gst_reserved[GST_PADDING];
+  /* gpointer _gst_reserved[GST_PADDING]; */
 };
 
+G_GNUC_INTERNAL
 GType gst_data_queue_get_type (void);
 
+G_GNUC_INTERNAL
 GstDataQueue * gst_data_queue_new            (GstDataQueueCheckFullFunction checkfull,
                                               gpointer checkdata) G_GNUC_MALLOC;
 
+G_GNUC_INTERNAL
 GstDataQueue * gst_data_queue_new_full       (GstDataQueueCheckFullFunction checkfull,
                                              GstDataQueueFullCallback fullcallback,
                                              GstDataQueueEmptyCallback emptycallback,
                                              gpointer checkdata) G_GNUC_MALLOC;
 
+G_GNUC_INTERNAL
 gboolean       gst_data_queue_push           (GstDataQueue * queue, GstDataQueueItem * item);
+
+G_GNUC_INTERNAL
 gboolean       gst_data_queue_pop            (GstDataQueue * queue, GstDataQueueItem ** item);
 
+G_GNUC_INTERNAL
 void           gst_data_queue_flush          (GstDataQueue * queue);
+
+G_GNUC_INTERNAL
 void           gst_data_queue_set_flushing   (GstDataQueue * queue, gboolean flushing);
 
+G_GNUC_INTERNAL
 gboolean       gst_data_queue_drop_head      (GstDataQueue * queue, GType type);
 
+G_GNUC_INTERNAL
 gboolean       gst_data_queue_is_full        (GstDataQueue * queue);
+
+G_GNUC_INTERNAL
 gboolean       gst_data_queue_is_empty       (GstDataQueue * queue);
 
+G_GNUC_INTERNAL
 void           gst_data_queue_get_level      (GstDataQueue * queue, GstDataQueueSize *level);
+
+G_GNUC_INTERNAL
 void           gst_data_queue_limits_changed (GstDataQueue * queue);
 
 G_END_DECLS