mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02:00
girepository: Rename gi_base_info_get_type() to get_info_type()
This method doesn’t return a `GType`, so when the code gets ported to `GTypeInstance` in an upcoming commit, that will become quite confusing. Rename it to `gi_base_info_get_info_type()` instead. This introduces no functional changes, but it is an API break. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3155
This commit is contained in:
@@ -39,7 +39,7 @@ G_BEGIN_DECLS
|
||||
* Checks if @info is a #GIStructInfo.
|
||||
*/
|
||||
#define GI_IS_STRUCT_INFO(info) \
|
||||
(gi_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_STRUCT)
|
||||
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_STRUCT)
|
||||
|
||||
|
||||
GI_AVAILABLE_IN_ALL
|
||||
|
Reference in New Issue
Block a user