Fix the annotation for hb_blob_get_data

This function will return NULL for the the
empty blob. That is important information for
bindings that treat nullability as a type trait.
This commit is contained in:
Matthias Clasen authored and Behdad Esfahbod committed 2022-06-27 10:59:02 -06:00
1 parent 3c49a6a60a
commit e72506d085
1 file changed
+1 -1
+1 -1
View File
@@ -369,7 +369,7 @@ hb_blob_get_length (hb_blob_t *blob)
*
* Fetches the data from a blob.
*
* Returns: (transfer none) (array length=length): the byte data of @blob.
* Returns: (nullable) (transfer none) (array length=length): the byte data of @blob.
*
* Since: 0.9.2
**/