diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2011-10-30 16:31:23 +0100 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2012-03-27 17:42:30 +0200 |
commit | 4d8e35ecdc756fa7439a1dc4e08ebd9964d92a73 (patch) | |
tree | ae1b48a7a2df48cddc0fb552fdd4b8a71fe87a58 /girepository/gicallableinfo.h | |
parent | 9406a644ba29c3df59c6493843fe06dea5614c24 (diff) | |
download | gobject-introspection-4d8e35ecdc756fa7439a1dc4e08ebd9964d92a73.tar.gz |
Make g_callable_info_invoke public
So it can be used for invoking callbacks
https://bugzilla.gnome.org/show_bug.cgi?id=663052
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
Diffstat (limited to 'girepository/gicallableinfo.h')
-rw-r--r-- | girepository/gicallableinfo.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/girepository/gicallableinfo.h b/girepository/gicallableinfo.h index 0c5fac79..48c08c41 100644 --- a/girepository/gicallableinfo.h +++ b/girepository/gicallableinfo.h @@ -55,6 +55,16 @@ GIArgInfo * g_callable_info_get_arg (GICallableInfo *info, void g_callable_info_load_arg (GICallableInfo *info, gint n, GIArgInfo *arg); +gboolean g_callable_info_invoke (GICallableInfo *info, + gpointer function, + const GIArgument *in_args, + int n_in_args, + const GIArgument *out_args, + int n_out_args, + GIArgument *return_value, + gboolean is_method, + gboolean throws, + GError **error); G_END_DECLS |