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

@ -632,7 +632,7 @@ gi_callable_info_invoke (GICallableInfo *info,
gpointer function,
const GIArgument *in_args,
gsize n_in_args,
const GIArgument *out_args,
GIArgument *out_args,
gsize n_out_args,
GIArgument *return_value,
GError **error)

View File

@ -96,7 +96,7 @@ gboolean gi_callable_info_invoke (GICallableInfo *info
gpointer function,
const GIArgument *in_args,
gsize n_in_args,
const GIArgument *out_args,
GIArgument *out_args,
gsize n_out_args,
GIArgument *return_value,
GError **error);

View File

@ -267,7 +267,7 @@ gboolean
gi_function_info_invoke (GIFunctionInfo *info,
const GIArgument *in_args,
gsize n_in_args,
const GIArgument *out_args,
GIArgument *out_args,
gsize n_out_args,
GIArgument *return_value,
GError **error)

View File

@ -93,7 +93,7 @@ GI_AVAILABLE_IN_ALL
gboolean gi_function_info_invoke (GIFunctionInfo *info,
const GIArgument *in_args,
gsize n_in_args,
const GIArgument *out_args,
GIArgument *out_args,
gsize n_out_args,
GIArgument *return_value,
GError **error);

View File

@ -342,7 +342,7 @@ 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)

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);