]> git.ipfire.org Git - thirdparty/vala.git/commit
glib-2.0: data of GLib.Bytes is allowed to be null 9c1542ce35ce39aecdde00e3a3353f8c4efe7a7f 131/head
authorMichael Gratton <mike@vee.net>
Thu, 25 Jun 2020 06:56:46 +0000 (16:56 +1000)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 25 Jun 2020 08:20:20 +0000 (10:20 +0200)
commit9c1542ce35ce39aecdde00e3a3353f8c4efe7a7f
tree0b316d634e082598e595c35a2f496a245779eeb9
parent8edd90dd26e3acf652ea4a24e288d7f9a57a5cb4
glib-2.0: data of GLib.Bytes is allowed to be null

Ctors accepting uint8 arrays accept null as 0-sized array and the
`get_data` may return null if the size of the buffer is 0.

https://developer.gnome.org/glib/stable/glib-Byte-Arrays.html
vapi/glib-2.0.vapi