From fca062eb4c57cb22c78b01dc9a2ae7e6e433d7b0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 7 Jan 2025 11:38:25 -0700 Subject: [PATCH] [docs] Fix build fail --- src/hb-subset-repacker.h | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/src/hb-subset-repacker.h b/src/hb-subset-repacker.h index 80e582352..6e7ac57d5 100644 --- a/src/hb-subset-repacker.h +++ b/src/hb-subset-repacker.h @@ -30,12 +30,15 @@ HB_BEGIN_DECLS -/* - * struct hb_link_t - * width: offsetSize in bytes - * position: position of the offset field in bytes - * from beginning of subtable - * objidx: index of subtable +/** + * hb_link_t: + * @width: offsetSize in bytes + * @position: position of the offset field in bytes from + * beginning of subtable + * @objidx: index of subtable + * + * Represents a link between two objects in the object graph + * to be serialized. */ struct hb_link_t { @@ -46,15 +49,18 @@ struct hb_link_t typedef struct hb_link_t hb_link_t; -/* - * struct hb_object_t - * head: start of object data - * tail: end of object data - * num_real_links: num of offset field in the object - * real_links: pointer to array of offset info - * num_virtual_links: num of objects that must be packed - * after current object in the final serialized order - * virtual_links: array of virtual link info +/** + * hb_object_t: + * @head: start of object data + * @tail: end of object data + * @num_real_links: num of offset field in the object + * @real_links: pointer to array of offset info + * @num_virtual_links: num of objects that must be packed + * after current object in the final + * serialized order + * @virtual_links: array of virtual link info + * + * Represents an object in the object graph to be serialized. */ struct hb_object_t {