diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2015-01-31 22:21:14 +0000 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-02-16 08:49:28 +0000 |
commit | 6ff0b08ff1982ef60d077ba5e1c11ea605be606b (patch) | |
tree | 9b7552aeec040e58f7f2cf7b953a443bfa7f4627 /giscanner/ast.py | |
parent | c74a18a0183f80d8ae97208de3ae657186ad4cd8 (diff) | |
download | gobject-introspection-6ff0b08ff1982ef60d077ba5e1c11ea605be606b.tar.gz |
girepository: Document semantics of dependencies and includes better
Make it clear that both the dependencies field in the typelib, and the
include elements in the GIR AST, are for immediate dependencies, not
transitive ones.
https://bugzilla.gnome.org/show_bug.cgi?id=743782
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r-- | giscanner/ast.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py index a9537e8d..c3c83d47 100644 --- a/giscanner/ast.py +++ b/giscanner/ast.py @@ -374,6 +374,7 @@ class Namespace(object): self.type_names = {} # Maps from GTName -> node self.ctypes = {} # Maps from CType -> node self.symbols = {} # Maps from function symbols -> Function + # Immediate includes only, not their transitive closure: self.includes = set() # Include self.shared_libraries = [] # str self.c_includes = [] # str |