From ace5c7eb4c2302a6a7eb3576e6dbc3bc026e569c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 13 Sep 2013 20:34:42 -0400 Subject: [PATCH] [introspection] hb-ft annotations --- src/hb-face.cc | 2 +- src/hb-ft.cc | 30 +++++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/hb-face.cc b/src/hb-face.cc index b21d6e7d1..ebe8ec5e5 100644 --- a/src/hb-face.cc +++ b/src/hb-face.cc @@ -70,7 +70,7 @@ const hb_face_t _hb_face_nil = { /** * hb_face_create_for_tables: - * @reference_table_func: (closure user_data) (destroy destroy) (scope notified): + * @reference_table_func: (closure user_data) (destroy destroy) (scope notified): * @user_data: * @destroy: * diff --git a/src/hb-ft.cc b/src/hb-ft.cc index a4f4bbdc0..ff1e187b3 100644 --- a/src/hb-ft.cc +++ b/src/hb-ft.cc @@ -319,7 +319,16 @@ reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) buffer, free); } - +/** + * hb_ft_face_create: + * @ft_face: (destroy destroy) (scope notified): + * @destroy: + * + * + * + * Return value: (transfer full): + * Since: 1.0 + **/ hb_face_t * hb_ft_face_create (FT_Face ft_face, hb_destroy_func_t destroy) @@ -355,6 +364,15 @@ hb_ft_face_finalize (FT_Face ft_face) hb_face_destroy ((hb_face_t *) ft_face->generic.data); } +/** + * hb_ft_face_create_cached: + * @ft_face: + * + * + * + * Return value: (transfer full): + * Since: 1.0 + **/ hb_face_t * hb_ft_face_create_cached (FT_Face ft_face) { @@ -376,6 +394,16 @@ _do_nothing (void) } +/** + * hb_ft_font_create: + * @ft_face: (destroy destroy) (scope notified): + * @destroy: + * + * + * + * Return value: (transfer full): + * Since: 1.0 + **/ hb_font_t * hb_ft_font_create (FT_Face ft_face, hb_destroy_func_t destroy)