diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-05-23 20:38:55 +0200 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-05-23 20:41:36 +0200 |
commit | 1edeccd204ac39743523275cfc50639a63a949cb (patch) | |
tree | e20654f964adf5217dae06cd6f04bfd1301c3109 /giscanner/girwriter.py | |
parent | f05406e92beede4357d74233d51aa3db45d709ae (diff) | |
download | gobject-introspection-1edeccd204ac39743523275cfc50639a63a949cb.tar.gz |
Add support for the 'foreign' annotation to g-i-scannerGOBJECT_INTROSPECTION_0_6_12
https://bugzilla.gnome.org/show_bug.cgi?id=619450
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r-- | giscanner/girwriter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py index 8d625c73..e1a1f020 100644 --- a/giscanner/girwriter.py +++ b/giscanner/girwriter.py @@ -427,6 +427,8 @@ and/or use gtk-doc annotations. ''') attrs.append(('c:type', record.symbol)) if record.disguised: attrs.append(('disguised', '1')) + if record.foreign: + attrs.append(('foreign', '1')) if isinstance(record, GLibRecord): if record.is_gtype_struct_for: is_gtype_struct = True |