vecdeque: Fix documentation of push_tail_struct()

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8111>
This commit is contained in:
Seungha Yang 2024-12-09 22:12:21 +09:00 committed by GStreamer Marge Bot
parent eb07c4e6b3
commit ebd4ec93b1
2 changed files with 7 additions and 2 deletions

View file

@ -52408,16 +52408,21 @@ to call gst_vec_deque_sort() first.</doc>
</parameter> </parameter>
</parameters> </parameters>
</method> </method>
<method name="push_tail_struct" c:identifier="gst_vec_deque_push_tail_struct"> <method name="push_tail_struct" c:identifier="gst_vec_deque_push_tail_struct" version="1.26" introspectable="0">
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstvecdeque.c">Pushes the element at address @p_struct to the tail of the queue @array
(Copies the contents of a structure of the struct_size specified when
creating the queue into the array).</doc>
<source-position filename="../subprojects/gstreamer/gst/gstvecdeque.h"/> <source-position filename="../subprojects/gstreamer/gst/gstvecdeque.h"/>
<return-value transfer-ownership="none"> <return-value transfer-ownership="none">
<type name="none" c:type="void"/> <type name="none" c:type="void"/>
</return-value> </return-value>
<parameters> <parameters>
<instance-parameter name="array" transfer-ownership="none"> <instance-parameter name="array" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstvecdeque.c">a #GstVecDeque object</doc>
<type name="VecDeque" c:type="GstVecDeque*"/> <type name="VecDeque" c:type="GstVecDeque*"/>
</instance-parameter> </instance-parameter>
<parameter name="p_struct" transfer-ownership="none" nullable="1" allow-none="1"> <parameter name="p_struct" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstvecdeque.c">address of element or structure to push to the tail of the queue</doc>
<type name="gpointer" c:type="gpointer"/> <type name="gpointer" c:type="gpointer"/>
</parameter> </parameter>
</parameters> </parameters>

View file

@ -388,7 +388,7 @@ gst_vec_deque_do_expand (GstVecDeque * array)
} }
/** /**
* gst_vec_deque_push_element_tail: (skip) * gst_vec_deque_push_tail_struct: (skip)
* @array: a #GstVecDeque object * @array: a #GstVecDeque object
* @p_struct: address of element or structure to push to the tail of the queue * @p_struct: address of element or structure to push to the tail of the queue
* *