From dfdbe7f932daffcf73911ff4e4a36f749164d960 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 12 Sep 2013 20:52:20 -0400 Subject: [PATCH] [introspection] Make hb_blob_create() introspectable --- src/Makefile.am | 2 ++ src/hb-blob.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 728d2f273..effb6bc85 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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) diff --git a/src/hb-blob.cc b/src/hb-blob.cc index 5f58429cf..16a2f99b7 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc @@ -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.