diff options
author | Johan Dahlin <johan@gnome.org> | 2008-08-18 14:19:56 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-08-18 14:19:56 +0000 |
commit | 4fd557392dfe9c3ff65e2e600f8801df05a9859c (patch) | |
tree | 60d7fb2658ec19c22b32860291c89d1ef418dabb /docs/global-module-registry.txt | |
parent | dbf2b048277e4f0a877d41fe4a775a1a0de8623f (diff) | |
download | gobject-introspection-4fd557392dfe9c3ff65e2e600f8801df05a9859c.tar.gz |
Update
2008-08-18 Johan Dahlin <johan@gnome.org>
* docs/global-module-registry.txt: Update
svn path=/trunk/; revision=396
Diffstat (limited to 'docs/global-module-registry.txt')
-rw-r--r-- | docs/global-module-registry.txt | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/docs/global-module-registry.txt b/docs/global-module-registry.txt index e3603962..989f403e 100644 --- a/docs/global-module-registry.txt +++ b/docs/global-module-registry.txt @@ -15,14 +15,25 @@ Gtk namespace Layout of the on disk tool ========================== -Location to should be /var/lib/glib/introspection-registry.db +Location to should be /var/lib/glib/introspection-registry.xml +Should be read completely. Not expected to be larger than one page on most +systems. -root { - 'Gtk': (path, version), -} +Layout in XML: -The format should be mmap(2):able, changes should only affect new processes. -Existing ones should keep on using the old registry. The overhead must be minimal. +<root> + <registry-path location="/usr/lib/typelibs/1.0/"> + <registry-path location="$HOME/.typelibs/"> + <entry namespace="Gtk" + library-location="libgtk-x11-2.0.so.0" + typelib-location="gtk.typelib"/> +</root> + +FIXME: version? +FIXME: pkg-config name? + +The overhead should be reduced to a minimum, both runtime and memory footprint. +Thus a binary format that is mmap(2):able is ideal: gir-registry-tool ================ |