summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--girepository/gitypelib-internal.h8
-rw-r--r--giscanner/ast.py1
2 files changed, 5 insertions, 4 deletions
diff --git a/girepository/gitypelib-internal.h b/girepository/gitypelib-internal.h
index e367cfa6..e50ccac4 100644
--- a/girepository/gitypelib-internal.h
+++ b/girepository/gitypelib-internal.h
@@ -201,10 +201,10 @@ typedef enum {
* @directory: Offset of the directory in the typelib.
* @n_attributes: Number of attribute blocks
* @attributes: Offset of the list of attributes 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.
+ * @dependencies: Offset of a single string, which is the list of immediate
+ * 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 in bytes of the typelib.
* @namespace: Offset of the namespace string in the typelib.
* @nsversion: Offset of the namespace version string in the typelib.
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