diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2018-08-19 19:41:41 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2019-05-13 16:34:09 -0400 |
commit | 949fba4b1fa7b9ea06538d22416e67485c45a4be (patch) | |
tree | 7303a32290c6052c2c2eaa08986d6212821c6228 /gst/gstbufferlist.h | |
parent | a0c65067e0f972acc929108feefabf54a74a816c (diff) |
doc: Fix hotdoc warnings
* Making sure that `static inline` function are in the GIR (by first
defining them, and make sure to mark as skiped)
* Do not try to link to unexisting symbols
* Also generate GIR information about gst_tracers
Diffstat (limited to 'gst/gstbufferlist.h')
-rw-r--r-- | gst/gstbufferlist.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gst/gstbufferlist.h b/gst/gstbufferlist.h index 3e2bcbcc38..07a8b73283 100644 --- a/gst/gstbufferlist.h +++ b/gst/gstbufferlist.h @@ -61,7 +61,7 @@ typedef gboolean (*GstBufferListFunc) (GstBuffer **buffer, guint idx, /* refcounting */ /** - * gst_buffer_list_ref: + * gst_buffer_list_ref: (skip) * @list: a #GstBufferList * * Increases the refcount of the given buffer list by one. @@ -73,6 +73,7 @@ typedef gboolean (*GstBufferListFunc) (GstBuffer **buffer, guint idx, * * Returns: (transfer full): @list */ +static inline GstBufferList* gst_buffer_list_ref(GstBufferList* list); static inline GstBufferList * gst_buffer_list_ref (GstBufferList * list) { @@ -81,14 +82,15 @@ gst_buffer_list_ref (GstBufferList * list) } /** - * gst_buffer_list_unref: + * gst_buffer_list_unref: (skip) * @list: (transfer full): a #GstBufferList * * Decreases the refcount of the buffer list. If the refcount reaches 0, the * buffer list will be freed. */ +static inline void gst_buffer_list_unref(GstBufferList* list); static inline void -gst_buffer_list_unref (GstBufferList * list) +gst_buffer_list_unref(GstBufferList* list) { gst_mini_object_unref (GST_MINI_OBJECT_CAST (list)); } @@ -114,7 +116,7 @@ gst_clear_buffer_list (GstBufferList ** list_ptr) /* copy */ /** - * gst_buffer_list_copy: + * gst_buffer_list_copy: (skip) * @list: a #GstBufferList * * Create a shallow copy of the given buffer list. This will make a newly @@ -123,6 +125,7 @@ gst_clear_buffer_list (GstBufferList ** list_ptr) * * Returns: (transfer full): a new copy of @list. */ +static inline GstBufferList* gst_buffer_list_copy(const GstBufferList* list); static inline GstBufferList * gst_buffer_list_copy (const GstBufferList * list) { |