summaryrefslogtreecommitdiff
path: root/girepository/girepository.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-22 18:08:15 -0400
committerPhilip Chimento <philip.chimento@gmail.com>2019-01-09 21:44:10 -0800
commit9826d952358c8330d72ecba062f489fbdc31bbd1 (patch)
tree297d02ca31635573db4026d9d30cd4604922811c /girepository/girepository.h
parent4f1374ba76d919c4e0d69c8a542f184d9d10df08 (diff)
downloadgobject-introspection-9826d952358c8330d72ecba062f489fbdc31bbd1.tar.gz
repository: g_irepository_get_object_gtype_interfaces
Bindings in some cases need to look up information from a GType dynamically. Support that better by supplying a cache for this information. (Rebased and versioning / gtk-doc stuff added by Philip Chimento.) Closes #38. See gjs#55.
Diffstat (limited to 'girepository/girepository.h')
-rw-r--r--girepository/girepository.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/girepository/girepository.h b/girepository/girepository.h
index 3934ab31..8dfcca2c 100644
--- a/girepository/girepository.h
+++ b/girepository/girepository.h
@@ -159,6 +159,12 @@ GI_AVAILABLE_IN_ALL
GIBaseInfo * g_irepository_find_by_gtype (GIRepository *repository,
GType gtype);
+GI_AVAILABLE_IN_1_60
+void g_irepository_get_object_gtype_interfaces (GIRepository *repository,
+ GType gtype,
+ guint *n_interfaces_out,
+ GIInterfaceInfo **interfaces_out);
+
GI_AVAILABLE_IN_ALL
gint g_irepository_get_n_infos (GIRepository *repository,
const gchar *namespace_);