Merge branch 'callable-docs' into 'main'

gicallableinfo: Clarify docs for callables with no return type

See merge request GNOME/glib!3902
This commit is contained in:
Marco Trevisan 2024-02-07 18:12:30 +00:00
commit bc0e53aa27

View File

@ -172,6 +172,9 @@ gi_callable_info_is_method (GICallableInfo *info)
*
* Obtain the return type of a callable item as a [class@GIRepository.TypeInfo].
*
* If the callable doesnt return anything, a [class@GIRepository.TypeInfo] of
* type [enum@GIRepository.TypeTag.VOID] will be returned.
*
* Returns: (transfer full): the [class@GIRepository.TypeInfo]. Free the struct
* by calling [method@GIRepository.BaseInfo.unref] when done.
* Since: 2.80