From f88e845fc789cb1af3956b53b749987af8d6adc8 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 24 Dec 2020 21:28:37 +0200 Subject: [PATCH] [docs] Minor fixes --- src/hb-blob.cc | 6 +++--- src/hb-buffer.cc | 4 ++-- src/hb-face.cc | 2 +- src/hb-font.cc | 2 +- src/hb-map.cc | 2 +- src/hb-set.cc | 2 +- src/hb-unicode.cc | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/hb-blob.cc b/src/hb-blob.cc index 318e41413..f55e6aaf4 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc @@ -234,7 +234,7 @@ hb_blob_destroy (hb_blob_t *blob) /** * hb_blob_set_user_data: (skip) - * @blob: a blob + * @blob: An #hb_blob_t * @key: The user-data key to set * @data: A pointer to the user data to set * @destroy: A callback to call when @data is not needed anymore @@ -242,7 +242,7 @@ hb_blob_destroy (hb_blob_t *blob) * * Attaches a user-data key/data pair to the specified blob. * - * Return value: %true if success, false otherwise + * Return value: %true if success, %false otherwise * * Since: 0.9.2 **/ @@ -566,7 +566,7 @@ _open_resource_fork (const char *file_name, hb_mapped_file_t *file) * Creates a new blob containing the data from the * specified binary font file. * - * Returns: A hb_blob_t pointer with the content of the file + * Returns: An #hb_blob_t pointer with the content of the file * * Since: 1.7.7 **/ diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index 821a3e628..45783312a 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc @@ -773,7 +773,7 @@ hb_buffer_destroy (hb_buffer_t *buffer) * * Attaches a user-data key/data pair to the specified buffer. * - * Return value: %true if success, false otherwise + * Return value: %true if success, %false otherwise * * Since: 0.9.2 **/ @@ -1076,7 +1076,7 @@ hb_buffer_set_flags (hb_buffer_t *buffer, * hb_buffer_get_flags: * @buffer: An #hb_buffer_t * - * Fetches the #hb_buffer_flags_t for @buffer. + * Fetches the #hb_buffer_flags_t of @buffer. * * Return value: * The @buffer flags diff --git a/src/hb-face.cc b/src/hb-face.cc index 848c4ff9c..33a788e7c 100644 --- a/src/hb-face.cc +++ b/src/hb-face.cc @@ -304,7 +304,7 @@ hb_face_destroy (hb_face_t *face) * * Attaches a user-data key/data pair to the given face object. * - * Return value: %true if success, false otherwise + * Return value: %true if success, %false otherwise * * Since: 0.9.2 **/ diff --git a/src/hb-font.cc b/src/hb-font.cc index 322bdec35..adb29aceb 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -633,7 +633,7 @@ hb_font_funcs_destroy (hb_font_funcs_t *ffuncs) * * Attaches a user-data key/data pair to the specified font-functions structure. * - * Return value: %true if success, false otherwise + * Return value: %true if success, %false otherwise * * Since: 0.9.2 **/ diff --git a/src/hb-map.cc b/src/hb-map.cc index c5cc5b203..9a3eadf3e 100644 --- a/src/hb-map.cc +++ b/src/hb-map.cc @@ -122,7 +122,7 @@ hb_map_destroy (hb_map_t *map) * * Attaches a user-data key/data pair to the specified map. * - * Return value: %true if success, false otherwise + * Return value: %true if success, %false otherwise * * Since: 1.7.7 **/ diff --git a/src/hb-set.cc b/src/hb-set.cc index d4684b98e..b4792b2b6 100644 --- a/src/hb-set.cc +++ b/src/hb-set.cc @@ -122,7 +122,7 @@ hb_set_destroy (hb_set_t *set) * * Attaches a user-data key/data pair to the specified set. * - * Return value: %true if success, false otherwise + * Return value: %true if success, %false otherwise * * Since: 0.9.2 **/ diff --git a/src/hb-unicode.cc b/src/hb-unicode.cc index 71de71549..09b392d62 100644 --- a/src/hb-unicode.cc +++ b/src/hb-unicode.cc @@ -281,7 +281,7 @@ hb_unicode_funcs_destroy (hb_unicode_funcs_t *ufuncs) * * Attaches a user-data key/data pair to the specified Unicode-functions structure. * - * Return value: %true if success, false otherwise + * Return value: %true if success, %false otherwise * * Since: 0.9.2 **/