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

Behdad Esfahbod behdad at kemper.freedesktop.org
Sun Mar 22 13:56:17 PDT 2015


 src/hb-common.cc |    8 ++++----
 src/hb-font.cc   |    2 +-
 src/hb-shape.cc  |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 8886ab430ca68539cb318e175647e9f6973718b0
Merge: e3671b8 a394bb6
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Sun Mar 22 16:18:57 2015 -0400

    Merge pull request #90 from khaledhosny/introspection-fixes
    
    [bindings] Fix *_from_string functions

commit a394bb66707184c995fe2d08c80e98220e6ec0b0
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Sun Mar 22 20:29:10 2015 +0200

    [bindings] Fix *_from_string functions
    
    Without the element-type they will be getting garbage, at least with
    Python.

diff --git a/src/hb-common.cc b/src/hb-common.cc
index 05a1f9c..1516211 100644
--- a/src/hb-common.cc
+++ b/src/hb-common.cc
@@ -57,7 +57,7 @@ _hb_options_init (void)
 
 /**
  * hb_tag_from_string:
- * @str: (array length=len): 
+ * @str: (array length=len) (element-type uint8_t): 
  * @len: 
  *
  * 
@@ -115,7 +115,7 @@ const char direction_strings[][4] = {
 
 /**
  * hb_direction_from_string:
- * @str: (array length=len): 
+ * @str: (array length=len) (element-type uint8_t): 
  * @len: 
  *
  * 
@@ -281,7 +281,7 @@ retry:
 
 /**
  * hb_language_from_string:
- * @str: (array length=len): 
+ * @str: (array length=len) (element-type uint8_t): 
  * @len: 
  *
  * 
@@ -401,7 +401,7 @@ hb_script_from_iso15924_tag (hb_tag_t tag)
 
 /**
  * hb_script_from_string:
- * @s: (array length=len): 
+ * @s: (array length=len) (element-type uint8_t): 
  * @len: 
  *
  * 
diff --git a/src/hb-font.cc b/src/hb-font.cc
index 4364ca7..d42db59 100644
--- a/src/hb-font.cc
+++ b/src/hb-font.cc
@@ -814,7 +814,7 @@ hb_font_glyph_to_string (hb_font_t *font,
 /**
  * hb_font_glyph_from_string:
  * @font: a font.
- * @s: (array length=len): 
+ * @s: (array length=len) (element-type uint8_t): 
  * @len: 
  * @glyph: (out): 
  *
diff --git a/src/hb-shape.cc b/src/hb-shape.cc
index 9a59c08..4e22c61 100644
--- a/src/hb-shape.cc
+++ b/src/hb-shape.cc
@@ -198,7 +198,7 @@ parse_one_feature (const char **pp, const char *end, hb_feature_t *feature)
 
 /**
  * hb_feature_from_string:
- * @str: (array length=len):
+ * @str: (array length=len) (element-type uint8_t):
  * @len: 
  * @feature: (out) (optional):
  *


More information about the HarfBuzz mailing list