diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2014-03-02 14:23:43 +0100 |
---|---|---|
committer | Giovanni Campagna <gcampagna@gnome.org> | 2014-03-05 17:12:39 +0100 |
commit | baa2992fd2291157808e9ff5b5387de29a61a773 (patch) | |
tree | c2233c7eb661c0dfa3ea3a34409a766994ef7871 | |
parent | 37f735f0da79cbb54b9d21924816543ab2510de2 (diff) | |
download | gobject-introspection-baa2992fd2291157808e9ff5b5387de29a61a773.tar.gz |
docwriter/gjs: format GObject.Value as "Any"
GValues are transparently marshalled by GJS, so you can
never use them as boxed (and they are not part of the
documentation as such).
-rw-r--r-- | giscanner/docwriter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/docwriter.py b/giscanner/docwriter.py index 4e994779..1a82bc74 100644 --- a/giscanner/docwriter.py +++ b/giscanner/docwriter.py @@ -706,6 +706,8 @@ class DocFormatterGjs(DocFormatterIntrospectableBase): giname = type_.target_giname if giname in ('GLib.ByteArray', 'GLib.Bytes'): return 'ByteArray' + if giname == 'GObject.Value': + return 'Any' if link: nsname = self._transformer.namespace.name if giname.startswith(nsname + '.'): |