mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
givfuncinfo: Fix int signedness in APIs
Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3155
This commit is contained in:
parent
83c41fe09e
commit
9b47344f3c
@ -120,7 +120,7 @@ gi_vfunc_info_get_flags (GIVFuncInfo *info)
|
||||
* Returns: the struct offset or `0xFFFF` if it’s unknown
|
||||
* Since: 2.80
|
||||
*/
|
||||
gint
|
||||
guint
|
||||
gi_vfunc_info_get_offset (GIVFuncInfo *info)
|
||||
{
|
||||
GIRealInfo *rinfo = (GIRealInfo *)info;
|
||||
@ -336,9 +336,9 @@ gboolean
|
||||
gi_vfunc_info_invoke (GIVFuncInfo *info,
|
||||
GType implementor,
|
||||
const GIArgument *in_args,
|
||||
int n_in_args,
|
||||
gsize n_in_args,
|
||||
const GIArgument *out_args,
|
||||
int n_out_args,
|
||||
gsize n_out_args,
|
||||
GIArgument *return_value,
|
||||
GError **error)
|
||||
{
|
||||
|
@ -47,7 +47,7 @@ GI_AVAILABLE_IN_ALL
|
||||
GIVFuncInfoFlags gi_vfunc_info_get_flags (GIVFuncInfo *info);
|
||||
|
||||
GI_AVAILABLE_IN_ALL
|
||||
gint gi_vfunc_info_get_offset (GIVFuncInfo *info);
|
||||
guint gi_vfunc_info_get_offset (GIVFuncInfo *info);
|
||||
|
||||
GI_AVAILABLE_IN_ALL
|
||||
GISignalInfo * gi_vfunc_info_get_signal (GIVFuncInfo *info);
|
||||
@ -64,9 +64,9 @@ GI_AVAILABLE_IN_ALL
|
||||
gboolean gi_vfunc_info_invoke (GIVFuncInfo *info,
|
||||
GType implementor,
|
||||
const GIArgument *in_args,
|
||||
int n_in_args,
|
||||
gsize n_in_args,
|
||||
const GIArgument *out_args,
|
||||
int n_out_args,
|
||||
gsize n_out_args,
|
||||
GIArgument *return_value,
|
||||
GError **error);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user