summaryrefslogtreecommitdiff
path: root/girepository/girepository.h
diff options
context:
space:
mode:
authorSteve Frécinaux <code@istique.net>2010-07-30 20:38:34 +0200
committerSteve Frécinaux <code@istique.net>2010-08-03 23:36:54 +0200
commite59232e64fdbcd4e0e2633efdb5d40c7b11464c1 (patch)
treeb4513e1b6306115b71ef6837df5529f45af6b57d /girepository/girepository.h
parent6e52cd771944e220fac9eb78bcc16b99680985d8 (diff)
downloadgobject-introspection-e59232e64fdbcd4e0e2633efdb5d40c7b11464c1.tar.gz
Add new API g_typelib_require_private()
This is equivalent to g_typelib_require() but intended for use with private typelibs, which get loaded from the provided directory. https://bugzilla.gnome.org/show_bug.cgi?id=625672
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 18174407..5c6a1c0f 100644
--- a/girepository/girepository.h
+++ b/girepository/girepository.h
@@ -108,6 +108,12 @@ GTypelib * g_irepository_require (GIRepository *repository,
const gchar *version,
GIRepositoryLoadFlags flags,
GError **error);
+GTypelib * g_irepository_require_private (GIRepository *repository,
+ const gchar *typelib_dir,
+ const gchar *namespace,
+ const gchar *version,
+ GIRepositoryLoadFlags flags,
+ GError **error);
gchar ** g_irepository_get_dependencies (GIRepository *repository,
const gchar *namespace_);
gchar ** g_irepository_get_loaded_namespaces (GIRepository *repository);