File: gobject-introspection-1.0.vapi

package info (click to toggle)
gitg 3.30.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,520 kB
  • sloc: ansic: 1,635; ruby: 1,466; sh: 314; python: 259; xml: 121; makefile: 40
file content (31 lines) | stat: -rw-r--r-- 961 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[CCode (cprefix = "GI", lower_case_cprefix = "g_i", cheader_filename = "girepository.h")]
namespace Introspection
{
	[CCode (cprefix = "G_IREPOSITORY_ERROR_")]
	public errordomain RepositoryError {
		TYPELIB_NOT_FOUND,
		NAMESPACE_MISMATCH,
		NAMESPACE_VERSION_CONFLICT,
		LIBRARY_NOT_FOUND
	}

	[CCode (cname="int", cprefix = "G_IREPOSITORY_LOAD_FLAG_")]
	public enum RepositoryLoadFlags {
		LAZY = 1
	}

	[CCode (ref_function = "", unref_function = "")]
	public class Repository {
		public static unowned Repository get_default();
		public static void prepend_search_path(string directory);
		public static unowned GLib.SList<string> get_search_path();

		public unowned Typelib? require(string namespace_, string? version = null, RepositoryLoadFlags flags = 0) throws RepositoryError;
	}

	[Compact]
	[CCode (cname = "GTypelib", cprefix = "g_typelib_", free_function = "g_typelib_free")]
	public class Typelib {
		public unowned string get_namespace();
	}
}