mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-28 05:02:10 +01:00
girffi: Fix g_function_info_new_for_address to respect G_VFUNC_THROWS
This commit is contained in:
parent
e865dcb7b4
commit
04cf2f480d
9
girffi.c
9
girffi.c
@ -301,8 +301,15 @@ g_function_invoker_new_for_address (gpointer addr,
|
|||||||
throws = (flags & GI_FUNCTION_THROWS) != 0;
|
throws = (flags & GI_FUNCTION_THROWS) != 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GI_INFO_TYPE_CALLBACK:
|
|
||||||
case GI_INFO_TYPE_VFUNC:
|
case GI_INFO_TYPE_VFUNC:
|
||||||
|
{
|
||||||
|
GIVFuncInfoFlags flags;
|
||||||
|
flags = g_vfunc_info_get_flags ((GIVFuncInfo *)info);
|
||||||
|
throws = (flags & GI_VFUNC_THROWS) != 0;
|
||||||
|
}
|
||||||
|
is_method = FALSE;
|
||||||
|
break;
|
||||||
|
case GI_INFO_TYPE_CALLBACK:
|
||||||
is_method = TRUE;
|
is_method = TRUE;
|
||||||
throws = FALSE;
|
throws = FALSE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user