mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
Add note in g_sequence_search() doc about g_sequence_lookup()
This commit is contained in:
parent
50f96ae79b
commit
e666a2ed69
@ -761,6 +761,9 @@ g_sequence_sort_changed (GSequenceIter *iter,
|
||||
* Returns an iterator pointing to the position where @data would
|
||||
* be inserted according to @cmp_func and @cmp_data.
|
||||
*
|
||||
* If you are simply searching for an existing element of the sequence,
|
||||
* consider using g_sequence_lookup().
|
||||
*
|
||||
* Return value: an #GSequenceIter pointing to the position where @data
|
||||
* would have been inserted according to @cmp_func and @cmp_data.
|
||||
*
|
||||
@ -1015,6 +1018,9 @@ g_sequence_insert_sorted_iter (GSequence *seq,
|
||||
* a #GSequenceIterCompareFunc instead of a #GCompareDataFunc as
|
||||
* the compare function.
|
||||
*
|
||||
* If you are simply searching for an existing element of the sequence,
|
||||
* consider using g_sequence_lookup_iter().
|
||||
*
|
||||
* Return value: a #GSequenceIter pointing to the position in @seq
|
||||
* where @data would have been inserted according to @iter_cmp and @cmp_data.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user