[gobject-introspection] ast: Allow more options in unresolved_type
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] ast: Allow more options in unresolved_type
- Date: Mon, 11 Feb 2013 17:35:50 +0000 (UTC)
commit 09bde86a11064a5b9573d2a674fae4223c33634d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Feb 8 23:23:36 2013 -0500
ast: Allow more options in unresolved_type
If there's an unresolved type for an annotation, it's very likely
it's using a target_giname.
https://bugzilla.gnome.org/show_bug.cgi?id=693598
giscanner/ast.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 1806720..efa39a9 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -84,6 +84,8 @@ from a C type string, or a gtype_name (from g_type_name()).
return self.ctype
elif self.gtype_name:
return self.gtype_name
+ elif self.target_giname:
+ return self.target_giname
else:
assert False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]