gifunctioninfo: Fix int signedness in APIs

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

Helps: #3155
This commit is contained in:
Philip Withnall 2023-12-12 17:47:44 +00:00
parent 81d6173d74
commit 417c42ba21
2 changed files with 4 additions and 4 deletions

View File

@ -256,9 +256,9 @@ gi_invoke_error_quark (void)
gboolean gboolean
gi_function_info_invoke (GIFunctionInfo *info, gi_function_info_invoke (GIFunctionInfo *info,
const GIArgument *in_args, const GIArgument *in_args,
int n_in_args, gsize n_in_args,
const GIArgument *out_args, const GIArgument *out_args,
int n_out_args, gsize n_out_args,
GIArgument *return_value, GIArgument *return_value,
GError **error) GError **error)
{ {

View File

@ -87,9 +87,9 @@ typedef enum
GI_AVAILABLE_IN_ALL GI_AVAILABLE_IN_ALL
gboolean gi_function_info_invoke (GIFunctionInfo *info, gboolean gi_function_info_invoke (GIFunctionInfo *info,
const GIArgument *in_args, const GIArgument *in_args,
int n_in_args, gsize n_in_args,
const GIArgument *out_args, const GIArgument *out_args,
int n_out_args, gsize n_out_args,
GIArgument *return_value, GIArgument *return_value,
GError **error); GError **error);