mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
plugins: sprinkle G_GNUC_INTERNAL for dataqueue functions
And remove padding, since this is not public API any more.
This commit is contained in:
parent
68a2eb5d18
commit
a8d5665db7
1 changed files with 18 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue