mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
array: Remove unnecessary casts from doc-comments
Let's not encourage library users to sprinkle casts through their code
when they don't need to.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Fixes: 52c130f8
This commit is contained in:
parent
8a7b375216
commit
ef6fe191ac
@ -1910,7 +1910,7 @@ g_ptr_array_insert (GPtrArray *array,
|
||||
* // initialize file_list array and load with many FileListEntry entries
|
||||
* ...
|
||||
* // now sort it with
|
||||
* g_ptr_array_sort (file_list, (GCompareFunc) sort_filelist);
|
||||
* g_ptr_array_sort (file_list, sort_filelist);
|
||||
* ]|
|
||||
*
|
||||
* This is guaranteed to be a stable sort since version 2.32.
|
||||
@ -1983,7 +1983,7 @@ g_ptr_array_sort (GPtrArray *array,
|
||||
* // now sort it with
|
||||
* sort_mode = SORT_NAME;
|
||||
* g_ptr_array_sort_with_data (file_list,
|
||||
* (GCompareFunc) sort_filelist,
|
||||
* sort_filelist,
|
||||
* GINT_TO_POINTER (sort_mode));
|
||||
* ]|
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user