GITypelib* g_irepository_require_private (GIRepository *self,
gchar* typelib_dir,
gchar* namespace_,
gchar* version,
GIRepositoryLoadFlags flags);
Force the namespace @namespace_ to be loaded if it isn't already. If @namespace_ is not loaded, this function will search for a ".typelib" file within the private directory only. In addition, a version @version of namespace should be specified. If @version is not specified, the latest will be used.
typelib_dir : |
Private directory where to find the requested typelib |
namespace_ : |
GI namespace to use, e.g. "Gtk" |
version : |
Version of namespace, may be %NULL for latest |
flags : |
Set of %GIRepositoryLoadFlags, may be 0 |
Returns : |
a pointer to the GITypelib if successful, %NULL otherwise |