gitypeinfo: Rename get_array_length() to get_array_length_index()

It returns the index of the array length argument, not the length
itself.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3155
This commit is contained in:
Philip Withnall
2023-12-12 18:23:05 +00:00
parent 23d9a79c62
commit 299315007f
3 changed files with 5 additions and 5 deletions

View File

@@ -96,7 +96,7 @@ GI_AVAILABLE_IN_ALL
GIBaseInfo * gi_type_info_get_interface (GITypeInfo *info);
GI_AVAILABLE_IN_ALL
gint gi_type_info_get_array_length (GITypeInfo *info);
gint gi_type_info_get_array_length_index (GITypeInfo *info);
GI_AVAILABLE_IN_ALL
gssize gi_type_info_get_array_fixed_size (GITypeInfo *info);