gicallableinfo: Drop const qualifier from out-args of invoke()

Not sure what it was doing there — these arguments get written to as
part of the invocation. The in-args should be `const` qualified, but not
the out-args.

This is an API break in libgirepository, but since it’s not been in a
stable release yet, that’s fine.

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

Helps: #3155
This commit is contained in:
Philip Withnall
2024-01-05 13:57:35 +00:00
parent e49ec6d7d8
commit dcf1884790
6 changed files with 6 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ gboolean gi_vfunc_info_invoke (GIVFuncInfo *info,
GType implementor,
const GIArgument *in_args,
gsize n_in_args,
const GIArgument *out_args,
GIArgument *out_args,
gsize n_out_args,
GIArgument *return_value,
GError **error);