[HarfBuzz] harfbuzz: Branch 'master' - 2 commits

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Sep 12 17:52:38 PDT 2013


 src/Makefile.am      |    2 ++
 src/hb-blob.cc       |    4 ++--
 src/hb-buffer.cc     |    2 +-
 src/hb-face.cc       |    2 +-
 src/hb-font.cc       |    4 ++--
 src/hb-set.cc        |    2 +-
 src/hb-shape-plan.cc |    2 +-
 src/hb-unicode.cc    |    2 +-
 8 files changed, 11 insertions(+), 9 deletions(-)

New commits:
commit dfdbe7f932daffcf73911ff4e4a36f749164d960
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Sep 12 20:52:20 2013 -0400

    [introspection] Make hb_blob_create() introspectable

diff --git a/src/Makefile.am b/src/Makefile.am
index 728d2f2..effb6bc 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 5f58429..16a2f99 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.
commit 085d4291a9f253a4b8e2eec8003ac11d02a9394f
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Sep 12 17:14:33 2013 -0400

    [introspection] Disable constructors for now
    
    Since our types are not associated with their methods, marking
    constructors makes them inaccessible from bindings.  Undo for now.

diff --git a/src/hb-blob.cc b/src/hb-blob.cc
index 5c53016..5f58429 100644
--- a/src/hb-blob.cc
+++ b/src/hb-blob.cc
@@ -77,7 +77,7 @@ _hb_blob_destroy_user_data (hb_blob_t *blob)
 }
 
 /**
- * hb_blob_create: (constructor)
+ * hb_blob_create: (Xconstructor)
  * @data: (array length=length): Pointer to blob data.
  * @length: Length of @data in bytes.
  * @mode: Memory mode for @data.
diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc
index 8143a1e..54626db 100644
--- a/src/hb-buffer.cc
+++ b/src/hb-buffer.cc
@@ -604,7 +604,7 @@ void hb_buffer_t::deallocate_var_all (void)
 /* Public API */
 
 /**
- * hb_buffer_create: (constructor)
+ * hb_buffer_create: (Xconstructor)
  *
  * 
  *
diff --git a/src/hb-face.cc b/src/hb-face.cc
index 10f4302..2713226 100644
--- a/src/hb-face.cc
+++ b/src/hb-face.cc
@@ -150,7 +150,7 @@ _hb_face_for_data_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void
 }
 
 /**
- * hb_face_create: (constructor)
+ * hb_face_create: (Xconstructor)
  * @blob: 
  * @index: 
  *
diff --git a/src/hb-font.cc b/src/hb-font.cc
index f02afa2..42e0cee 100644
--- a/src/hb-font.cc
+++ b/src/hb-font.cc
@@ -231,7 +231,7 @@ static const hb_font_funcs_t _hb_font_funcs_nil = {
 
 
 /**
- * hb_font_funcs_create: (constructor)
+ * hb_font_funcs_create: (Xconstructor)
  *
  * 
  *
@@ -839,7 +839,7 @@ hb_font_glyph_from_string (hb_font_t *font,
  */
 
 /**
- * hb_font_create: (constructor)
+ * hb_font_create: (Xconstructor)
  * @face: a face.
  *
  * 
diff --git a/src/hb-set.cc b/src/hb-set.cc
index 161924e..59a0af4 100644
--- a/src/hb-set.cc
+++ b/src/hb-set.cc
@@ -31,7 +31,7 @@
 
 
 /**
- * hb_set_create: (constructor)
+ * hb_set_create: (Xconstructor)
  *
  * Return value: (transfer full):
  *
diff --git a/src/hb-shape-plan.cc b/src/hb-shape-plan.cc
index 4e734d7..b44a9e2 100644
--- a/src/hb-shape-plan.cc
+++ b/src/hb-shape-plan.cc
@@ -84,7 +84,7 @@ hb_shape_plan_plan (hb_shape_plan_t    *shape_plan,
  */
 
 /**
- * hb_shape_plan_create: (constructor)
+ * hb_shape_plan_create: (Xconstructor)
  * @face: 
  * @props: 
  * @user_features: (array length=num_user_features):
diff --git a/src/hb-unicode.cc b/src/hb-unicode.cc
index 807d5c1..5b44913 100644
--- a/src/hb-unicode.cc
+++ b/src/hb-unicode.cc
@@ -151,7 +151,7 @@ hb_unicode_funcs_get_default (void)
 #endif
 
 /**
- * hb_unicode_funcs_create: (constructor)
+ * hb_unicode_funcs_create: (Xconstructor)
  * @parent: (allow-none):
  *
  * 



More information about the HarfBuzz mailing list