gicallableinfo: Clarify docs for callables with no return type

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall 2024-02-07 15:59:56 +00:00
parent 27fb6ffce2
commit 389e8a439b

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