summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorColin Walters <walters@src.gnome.org>2008-08-30 20:31:07 +0000
committerColin Walters <walters@src.gnome.org>2008-08-30 20:31:07 +0000
commit8e9b9ce60747b262e3e9c4be4ae85ee1319ae3f4 (patch)
tree1ddd59b84d74350c3b3afbf7df2092bfc001f053 /docs
parent3be5f52707d68d0fb02f4415dc90450aa64ffea1 (diff)
downloadgobject-introspection-8e9b9ce60747b262e3e9c4be4ae85ee1319ae3f4.tar.gz
Put dependencies in typelibs, resolve them when loading
* gir/Makefile.am: Dep on Makefile * girepository/ginfo.c: Print out a nicer error message if we failed to load something. * girepository/girepository.c: Clean up default typelib handling; remove global default_typelib variable. Ensure we handle NULL repository in more places. Support dependency resolution. * tests/Makefile.am: Kill off gobject.gir, it conflicts with the real one. * tests/Object.gir: Depend on GObject. * tools/generate.c: Take --includedir argument to say which directories to search for typelibs. Print out dependencies. svn path=/trunk/; revision=541
Diffstat (limited to 'docs')
-rw-r--r--docs/typelib-format.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/typelib-format.txt b/docs/typelib-format.txt
index d281cf02..4951a3cc 100644
--- a/docs/typelib-format.txt
+++ b/docs/typelib-format.txt
@@ -1,7 +1,10 @@
GObject binary typelib for introspection
-----------------------------------------
-Version 0.7
+Version 0.8
+
+Changes since 0.7:
+- Add dependencies
Changes since 0.6:
- rename metadata to typelib, to follow xpcom terminology
@@ -105,6 +108,8 @@ struct Header
guint32 directory;
guint32 annotations;
+ guint32 dependencies;
+
guint32 size;
guint32 namespace;
@@ -152,6 +157,13 @@ directory:
annotations:
Offset of the list of annotations in the typelib.
+dependencies:
+ Offset of a single string, which is the list of
+ dependencies, separated by the '|' character. The
+ dependencies are required in order to avoid having programs
+ consuming a typelib check for an "Unresolved" type return
+ from every API call.
+
size: The size of the typelib.
namespace: