From 998baf9afb66eaa247cf61c57620205a2c41a6b0 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 23 Jan 2024 18:09:28 +0000 Subject: [PATCH] girffi: Expand docs for gi_function_info_prep_invoker() Mention that the returned `GIFunctionInvoker` needs to be cleared. Signed-off-by: Philip Withnall --- girepository/girffi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/girepository/girffi.c b/girepository/girffi.c index 107ad42d7..ecd28a796 100644 --- a/girepository/girffi.c +++ b/girepository/girffi.c @@ -269,6 +269,9 @@ gi_callable_info_get_ffi_return_type (GICallableInfo *callable_info) * by a language binding could contain a [type@GIRepository.FunctionInvoker] * structure inside the binding’s function mapping. * + * @invoker must be freed using [method@GIRepository.FunctionInvoker.destroy] + * when it’s finished with. + * * Returns: `TRUE` on success, `FALSE` otherwise with @error set. * Since: 2.80 */