summaryrefslogtreecommitdiff
path: root/girepository/givfuncinfo.h
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-12-13 13:53:55 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2011-01-12 20:05:09 +0100
commit0c3a1d82f2543b74468d1806f87aa0cb258a925d (patch)
treed7919bfab9e8e03599468939852bff69ed50f97d /girepository/givfuncinfo.h
parent36e79f8d485bb670ac53be52ff3962f9e157dc42 (diff)
downloadgobject-introspection-0c3a1d82f2543b74468d1806f87aa0cb258a925d.tar.gz
Add g_vfunc_info_invoke and g_vfunc_info_get_address
for calling the native implementation of a virtual function. Refactors the code common with g_function_info_invoke in _g_callable_info_invoke. https://bugzilla.gnome.org/show_bug.cgi?id=637145
Diffstat (limited to 'girepository/givfuncinfo.h')
-rw-r--r--girepository/givfuncinfo.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/girepository/givfuncinfo.h b/girepository/givfuncinfo.h
index 6629cad8..3c556cbe 100644
--- a/girepository/givfuncinfo.h
+++ b/girepository/givfuncinfo.h
@@ -37,6 +37,17 @@ GIVFuncInfoFlags g_vfunc_info_get_flags (GIVFuncInfo *info);
gint g_vfunc_info_get_offset (GIVFuncInfo *info);
GISignalInfo * g_vfunc_info_get_signal (GIVFuncInfo *info);
GIFunctionInfo * g_vfunc_info_get_invoker (GIVFuncInfo *info);
+gpointer g_vfunc_info_get_address (GIVFuncInfo *info,
+ GType implementor_gtype,
+ GError **error);
+gboolean g_vfunc_info_invoke (GIVFuncInfo *info,
+ GType implementor,
+ const GIArgument *in_args,
+ int n_in_args,
+ const GIArgument *out_args,
+ int n_out_args,
+ GIArgument *return_value,
+ GError **error);
G_END_DECLS