diff options
author | Andy Holmes <andrew.g.r.holmes@gmail.com> | 2021-11-23 11:46:46 -0800 |
---|---|---|
committer | Andy Holmes <andrew.g.r.holmes@gmail.com> | 2021-11-23 11:46:46 -0800 |
commit | 2d145b9edea832621276be85b00e1ea3be376964 (patch) | |
tree | 32873fb6334fb5fa47a4d46467d6063c3a137763 /giscanner | |
parent | 16d77ef25e939e36ee649638525ff4c6741545d6 (diff) | |
download | gobject-introspection-2d145b9edea832621276be85b00e1ea3be376964.tar.gz |
docwriter.py: change DocFormatterGjs to return Uint8Array
GJS now maps GLib.ByteArray and GLib.Bytes to Uint8Array whenever
possible. Change the string returned by docwriter for devdocs to
reflect that.
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/docwriter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/docwriter.py b/giscanner/docwriter.py index 786da80d..d0cd610f 100644 --- a/giscanner/docwriter.py +++ b/giscanner/docwriter.py @@ -945,7 +945,7 @@ class DocFormatterGjs(DocFormatterIntrospectableBase): if giname == 'Gdk.Atom': return 'String' if giname in ('GLib.ByteArray', 'GLib.Bytes'): - return 'ByteArray' + return 'Uint8Array' if giname == 'GObject.Value': return 'Any' if giname == 'GObject.Closure': |