mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 18:40:03 +01:00
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:
parent
e49ec6d7d8
commit
dcf1884790
@ -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)
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user