提交 cd361c3c 编写于 作者: B Behdad Esfahbod

Minor change to hb_language_t

Let me know if this breaks anyone's anything.
上级 20cbc1f8
...@@ -187,7 +187,7 @@ struct hb_language_item_t { ...@@ -187,7 +187,7 @@ struct hb_language_item_t {
return *this; return *this;
} }
void finish (void) { free (lang); } void finish (void) { free ((void *) lang); }
}; };
......
...@@ -131,7 +131,7 @@ hb_direction_to_string (hb_direction_t direction); ...@@ -131,7 +131,7 @@ hb_direction_to_string (hb_direction_t direction);
/* hb_language_t */ /* hb_language_t */
typedef struct hb_language_impl_t *hb_language_t; typedef const struct hb_language_impl_t *hb_language_t;
/* len=-1 means str is NUL-terminated */ /* len=-1 means str is NUL-terminated */
hb_language_t hb_language_t
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册