From cb319f0d80ab76da00c7263a7e0a433558fa73a2 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 24 Dec 2020 21:47:05 +0200 Subject: [PATCH] [docs] Add some missing annotations to hb-buffer.cc --- src/hb-buffer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index 45783312a..10063db05 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc @@ -768,7 +768,7 @@ hb_buffer_destroy (hb_buffer_t *buffer) * @buffer: An #hb_buffer_t * @key: The user-data key * @data: A pointer to the user data - * @destroy: A callback to call when @data is not needed anymore + * @destroy: (optional): A callback to call when @data is not needed anymore * @replace: Whether to replace an existing data with the same key * * Attaches a user-data key/data pair to the specified buffer. @@ -795,7 +795,7 @@ hb_buffer_set_user_data (hb_buffer_t *buffer, * Fetches the user data associated with the specified key, * attached to the specified buffer. * - * Return value: A pointer to the user data + * Return value: (transfer-none): A pointer to the user data * * Since: 0.9.2 **/