GNOME Bugzilla – Bug 672548
g_utf8_validate: @str shouldn't end up annotated as utf8
Last modified: 2015-02-07 17:02:37 UTC
right?
Created attachment 210230 [details] [review] g_utf8_validate: @str shouldn't end up annotated as utf8 In order for this function to have any point, it has to be possible to pass non-UTF-8 data to it, so annotate @str as being array-of-guint8 instead of utf8.
(and maybe we should have (type bytestring) or something as an alias for that?)
Review of attachment 210230 [details] [review]: Looks correct.
belatedly pushed Attachment 210230 [details] pushed as 7cadf4f - g_utf8_validate: @str shouldn't end up annotated as utf8
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]