plugins: sprinkle G_GNUC_INTERNAL for dataqueue functions

And remove padding, since this is not public API any more.
This commit is contained in:
Tim-Philipp Müller 2012-07-09 20:55:00 +01:00
parent 68a2eb5d18
commit a8d5665db7

View 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