mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-27 20:52:12 +01:00
gsequence: Fix g_sequence_lookup() return value documentation
Mention that we return NULL if the item we are looking up isn't found.
This commit is contained in:
parent
82f2ee90fe
commit
67694fb35e
@ -829,7 +829,8 @@ g_sequence_search (GSequence *seq,
|
|||||||
* </para></note>
|
* </para></note>
|
||||||
*
|
*
|
||||||
* Return value: an #GSequenceIter pointing to the position of the
|
* Return value: an #GSequenceIter pointing to the position of the
|
||||||
* first item found equal to @data according to @cmp_func and @cmp_data.
|
* first item found equal to @data according to @cmp_func and
|
||||||
|
* @cmp_data, or %NULL if no such item exists.
|
||||||
*
|
*
|
||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
@ -1123,7 +1124,7 @@ g_sequence_search_iter (GSequence *seq,
|
|||||||
*
|
*
|
||||||
* Return value: an #GSequenceIter pointing to the position of
|
* Return value: an #GSequenceIter pointing to the position of
|
||||||
* the first item found equal to @data according to @cmp_func
|
* the first item found equal to @data according to @cmp_func
|
||||||
* and @cmp_data.
|
* and @cmp_data, or %NULL if no such item exists.
|
||||||
*
|
*
|
||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user