From 389e8a439b705ea3c794cdb7fbd9713c58952486 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 7 Feb 2024 15:59:56 +0000 Subject: [PATCH] gicallableinfo: Clarify docs for callables with no return type Signed-off-by: Philip Withnall --- girepository/gicallableinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/girepository/gicallableinfo.c b/girepository/gicallableinfo.c index 1c8c8ef17..0095a03b5 100644 --- a/girepository/gicallableinfo.c +++ b/girepository/gicallableinfo.c @@ -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 doesn’t 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