girepository: Update existing Since tags to 2.80

Since the APIs are new to libgirepository-2.0 in version 2.80.

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

Helps: #3155
This commit is contained in:
Philip Withnall 2023-11-08 23:24:11 +00:00
parent 11e46361ef
commit c42e63c637
12 changed files with 28 additions and 28 deletions

View File

@ -175,7 +175,7 @@ gi_arg_info_may_be_null (GIArgInfo *info)
* Obtain if an argument is only useful in C.
*
* Returns: %TRUE if argument is only useful in C.
* Since: 1.30
* Since: 2.80
*/
gboolean
gi_arg_info_is_skip (GIArgInfo *info)

View File

@ -87,7 +87,7 @@ signature_offset (GICallableInfo *info)
*
* TODO
*
* Since: 1.34
* Since: 2.80
* Returns: %TRUE if this #GICallableInfo can throw a #GError
*/
gboolean
@ -141,7 +141,7 @@ gi_callable_info_can_throw_gerror (GICallableInfo *info)
* or "this" object.
*
* Returns: %TRUE if @info is a method, %FALSE otherwise
* Since: 1.34
* Since: 2.80
*/
gboolean
gi_callable_info_is_method (GICallableInfo *info)
@ -293,7 +293,7 @@ gi_callable_info_get_caller_owns (GICallableInfo *info)
* Obtains the ownership transfer for the instance argument.
* #GITransfer contains a list of possible transfer values.
*
* Since: 1.42
* Since: 2.80
* Returns: the transfer mode of the instance argument
*/
GITransfer
@ -489,7 +489,7 @@ gi_callable_info_iterate_return_attributes (GICallableInfo *info,
* The @interface_type argument only applies if @return_tag is
* %GI_TYPE_TAG_INTERFACE. Otherwise it is ignored.
*
* Since: 1.72
* Since: 2.80
*/
void
gi_type_tag_extract_ffi_return_value (GITypeTag return_tag,

View File

@ -75,7 +75,7 @@ gi_constant_info_get_type (GIConstantInfo *info)
*
* Free the value returned from gi_constant_info_get_value().
*
* Since: 1.32
* Since: 2.80
*/
void
gi_constant_info_free_value (GIConstantInfo *info,

View File

@ -76,7 +76,7 @@ gi_enum_info_get_n_values (GIEnumInfo *info)
*
* Returns: (transfer none): the string form of the error domain associated
* with this enum, or %NULL.
* Since: 1.30
* Since: 2.80
*/
const gchar *
gi_enum_info_get_error_domain (GIEnumInfo *info)
@ -130,7 +130,7 @@ gi_enum_info_get_value (GIEnumInfo *info,
* Obtain the number of methods that this enum type has.
*
* Returns: number of methods
* Since: 1.30
* Since: 2.80
*/
gint
gi_enum_info_get_n_methods (GIEnumInfo *info)
@ -155,7 +155,7 @@ gi_enum_info_get_n_methods (GIEnumInfo *info)
*
* Returns: (transfer full): the #GIFunctionInfo. Free the struct by calling
* gi_base_info_unref() when done.
* Since: 1.30
* Since: 2.80
*/
GIFunctionInfo *
gi_enum_info_get_method (GIEnumInfo *info,

View File

@ -297,7 +297,7 @@ gi_interface_info_get_signal (GIInterfaceInfo *info,
*
* Returns: (transfer full): Info for the signal with name @name in @info, or
* %NULL on failure.
* Since: 1.34
* Since: 2.80
*/
GISignalInfo *
gi_interface_info_find_signal (GIInterfaceInfo *info,

View File

@ -141,7 +141,7 @@ gi_object_info_get_abstract (GIObjectInfo *info)
*
* Returns: %TRUE if the object type is final
*
* Since: 1.70
* Since: 2.80
*/
gboolean
gi_object_info_get_final (GIObjectInfo *info)

View File

@ -468,7 +468,7 @@ register_internal (GIRepository *repository,
* Returns: (transfer full): Zero-terminated string array of immediate versioned
* dependencies
*
* Since: 1.44
* Since: 2.80
*/
char **
gi_repository_get_immediate_dependencies (GIRepository *repository,
@ -943,7 +943,7 @@ find_by_error_domain_foreach (gpointer key,
*
* Returns: (transfer full): #GIEnumInfo representing metadata about @domain's
* enum type, or %NULL
* Since: 1.30
* Since: 2.80
*/
GIEnumInfo *
gi_repository_find_by_error_domain (GIRepository *repository,
@ -1002,7 +1002,7 @@ gi_repository_find_by_error_domain (GIRepository *repository,
* returning a concrete class of #GLocalFile, which is a #GType we
* see at runtime, but not statically.
*
* Since: 1.62
* Since: 2.80
*/
void
gi_repository_get_object_gtype_interfaces (GIRepository *repository,

View File

@ -117,7 +117,7 @@ gi_struct_info_get_field (GIStructInfo *info,
*
* Obtain the type information for field named @name.
*
* Since: 1.46
* Since: 2.80
* Returns: (transfer full): the #GIFieldInfo or %NULL if not found,
* free it with gi_base_info_unref() when done.
*/
@ -293,7 +293,7 @@ gi_struct_info_is_gtype_struct (GIStructInfo *info)
*
* Returns: (transfer none) (nullable): the name of the copy function
*
* Since: 1.76
* Since: 2.80
*/
const char *
gi_struct_info_get_copy_function (GIStructInfo *info)
@ -320,7 +320,7 @@ gi_struct_info_get_copy_function (GIStructInfo *info)
*
* Returns: (transfer none) (nullable): the name of the free function
*
* Since: 1.76
* Since: 2.80
*/
const char *
gi_struct_info_get_free_function (GIStructInfo *info)

View File

@ -355,7 +355,7 @@ gi_type_info_get_array_type (GITypeInfo *info)
*
* Returns: the type tag
*
* Since: 1.66
* Since: 2.80
*/
GITypeTag
gi_type_info_get_storage_type (GITypeInfo *info)
@ -392,7 +392,7 @@ gi_type_info_get_storage_type (GITypeInfo *info)
* This function fills in the appropriate field of @arg with the value extracted
* from @hash_pointer, depending on @storage_type.
*
* Since: 1.72
* Since: 2.80
*/
void
gi_type_tag_argument_from_hash_pointer (GITypeTag storage_type,
@ -465,7 +465,7 @@ gi_type_tag_argument_from_hash_pointer (GITypeTag storage_type,
* This function fills in the appropriate field of @arg with the value extracted
* from @hash_pointer, depending on the storage type of @info.
*
* Since: 1.66
* Since: 2.80
*/
void
gi_type_info_argument_from_hash_pointer (GITypeInfo *info,
@ -496,7 +496,7 @@ gi_type_info_argument_from_hash_pointer (GITypeInfo *info,
*
* Returns: A stuffed pointer, that can be stored in a #GHashTable, for example
*
* Since: 1.72
* Since: 2.80
*/
gpointer
gi_type_tag_hash_pointer_from_argument (GITypeTag storage_type,
@ -560,7 +560,7 @@ gi_type_tag_hash_pointer_from_argument (GITypeTag storage_type,
*
* Returns: A stuffed pointer, that can be stored in a #GHashTable, for example
*
* Since: 1.66
* Since: 2.80
*/
gpointer
gi_type_info_hash_pointer_from_argument (GITypeInfo *info,

View File

@ -47,7 +47,7 @@ G_BEGIN_DECLS
*
* Checks if @tag is a basic type.
*
* Since: 1.72
* Since: 2.80
*/
#define GI_TYPE_TAG_IS_BASIC(tag) ((tag) < GI_TYPE_TAG_ARRAY || (tag) == GI_TYPE_TAG_UNICHAR)
@ -57,7 +57,7 @@ G_BEGIN_DECLS
*
* Checks if @tag is a numeric type. That is, integer or floating point.
*
* Since: 1.72
* Since: 2.80
*/
#define GI_TYPE_TAG_IS_NUMERIC(tag) ((tag) >= GI_TYPE_TAG_INT8 && (tag) <= GI_TYPE_TAG_DOUBLE)
@ -68,7 +68,7 @@ G_BEGIN_DECLS
* Checks if @tag is a container type. That is, a type which may have a nonnull
* return from gi_type_info_get_param_type().
*
* Since: 1.72
* Since: 2.80
*/
#define GI_TYPE_TAG_IS_CONTAINER(tag) ((tag) == GI_TYPE_TAG_ARRAY || \
((tag) >= GI_TYPE_TAG_GLIST && (tag) <= GI_TYPE_TAG_GHASH))

View File

@ -2242,7 +2242,7 @@ static GSList *library_paths;
* path (ie. LD_LIBRARY_PATH and DT_RPATH in ELF systems).
* See the documentation of your dynamic linker for full details.
*
* Since: 1.36
* Since: 2.80
*/
void
gi_repository_prepend_library_path (const char *directory)

View File

@ -279,7 +279,7 @@ gi_union_info_get_alignment (GIUnionInfo *info)
*
* Returns: (transfer none) (nullable): the name of the copy function
*
* Since: 1.76
* Since: 2.80
*/
const char *
gi_union_info_get_copy_function (GIUnionInfo *info)
@ -306,7 +306,7 @@ gi_union_info_get_copy_function (GIUnionInfo *info)
*
* Returns: (transfer none) (nullable): the name of the free function
*
* Since: 1.76
* Since: 2.80
*/
const char *
gi_union_info_get_free_function (GIUnionInfo *info)