diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-08 23:23:36 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-11 12:34:53 -0500 |
commit | 09bde86a11064a5b9573d2a674fae4223c33634d (patch) | |
tree | 9a98730aaded24a9390e9919e90c0f7dcf17b639 /giscanner/ast.py | |
parent | 86f7acf0f139a917e460db26872b5a4306fca8d2 (diff) | |
download | gobject-introspection-09bde86a11064a5b9573d2a674fae4223c33634d.tar.gz |
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
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r-- | giscanner/ast.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py index 1806720e..efa39a91 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 |