mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
girepository: Split GIValueInfo out of gienuminfo.c
It’s a separate type, so it would be less confusing if it were in its own file. This doesn’t change any API. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3155
This commit is contained in:
@@ -44,17 +44,6 @@ G_BEGIN_DECLS
|
||||
((gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_ENUM) || \
|
||||
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_FLAGS))
|
||||
|
||||
/**
|
||||
* GI_IS_VALUE_INFO:
|
||||
* @info: an info structure
|
||||
*
|
||||
* Checks if @info is a [class@GIRepository.ValueInfo].
|
||||
*
|
||||
* Since: 2.80
|
||||
*/
|
||||
#define GI_IS_VALUE_INFO(info) \
|
||||
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_VALUE)
|
||||
|
||||
|
||||
GI_AVAILABLE_IN_ALL
|
||||
unsigned int gi_enum_info_get_n_values (GIEnumInfo *info);
|
||||
@@ -76,8 +65,4 @@ GITypeTag gi_enum_info_get_storage_type (GIEnumInfo *info);
|
||||
GI_AVAILABLE_IN_ALL
|
||||
const char * gi_enum_info_get_error_domain (GIEnumInfo *info);
|
||||
|
||||
|
||||
GI_AVAILABLE_IN_ALL
|
||||
int64_t gi_value_info_get_value (GIValueInfo *info);
|
||||
|
||||
G_END_DECLS
|
||||
|
Reference in New Issue
Block a user