diff options
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r-- | giscanner/girwriter.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py index f1e150df..bfe82a85 100644 --- a/giscanner/girwriter.py +++ b/giscanner/girwriter.py @@ -362,7 +362,9 @@ and/or use gtk-doc annotations. ''') self.write_tag('member', attrs) def _write_constant(self, constant): - attrs = [('name', constant.name), ('value', constant.value)] + attrs = [('name', constant.name), + ('value', constant.value), + ('c:type', constant.ctype)] with self.tagcontext('constant', attrs): self._write_type(constant.value_type) |