From 6ff0b08ff1982ef60d077ba5e1c11ea605be606b Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Sat, 31 Jan 2015 22:21:14 +0000 Subject: 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 --- giscanner/ast.py | 1 + 1 file changed, 1 insertion(+) (limited to 'giscanner') 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 -- cgit v1.2.1