[introspection] Make hb_blob_create() introspectable

This commit is contained in:
Behdad Esfahbod 2013-09-12 20:52:20 -04:00
parent 085d4291a9
commit dfdbe7f932
2 changed files with 3 additions and 1 deletions

View File

@ -371,7 +371,9 @@ HarfBuzz_0_0_gir_FILES = \
$(HBHEADERS) \
$(HBNODISTHEADERS) \
$(HBSOURCES) \
hb-gobject-enums.cc \
hb-gobject-enums.h \
hb-gobject-structs.cc \
hb-gobject-structs.h \
$(NULL)

View File

@ -78,7 +78,7 @@ _hb_blob_destroy_user_data (hb_blob_t *blob)
/**
* hb_blob_create: (Xconstructor)
* @data: (array length=length): Pointer to blob data.
* @data: (array length=length) (scope notified) (destroy destroy) (transfer none): Pointer to blob data.
* @length: Length of @data in bytes.
* @mode: Memory mode for @data.
* @user_data: Data parameter to pass to @destroy.