[gi-docgen/validate-links] gir: Look for callback types
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gi-docgen/validate-links] gir: Look for callback types
- Date: Tue, 25 May 2021 12:18:27 +0000 (UTC)
commit 0d0d239bbd044e11fa69ab05abb766145ba3fb58
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue May 25 13:16:36 2021 +0100
gir: Look for callback types
gidocgen/gir/ast.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gidocgen/gir/ast.py b/gidocgen/gir/ast.py
index 13f321e..e3a86ad 100644
--- a/gidocgen/gir/ast.py
+++ b/gidocgen/gir/ast.py
@@ -879,6 +879,8 @@ class Namespace:
return self._aliases[name]
if name in self._bitfields:
return self._bitfields[name]
+ if name in self._callbacks:
+ return self._callbacks[name]
if name in self._constants:
return self._constants[name]
if name in self._enumerations:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]