[glib: 8/9] doc: Fix undocumented G_SIZEOF_MEMBER
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 8/9] doc: Fix undocumented G_SIZEOF_MEMBER
- Date: Fri, 31 Jan 2020 13:24:43 +0000 (UTC)
commit 527d6201c369b16d4c0a5743ea7c54f6aef4b90b
Author: Xavier Claessens <xavier claessens collabora com>
Date: Wed Jan 29 18:26:21 2020 +0100
doc: Fix undocumented G_SIZEOF_MEMBER
A body in the documentation comment is required.
glib/gmacros.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/glib/gmacros.h b/glib/gmacros.h
index d9c7906cd..1f4d779be 100644
--- a/glib/gmacros.h
+++ b/glib/gmacros.h
@@ -1101,9 +1101,11 @@
* @struct_type: a structure type, e.g. #GOutputVector
* @member: a field in the structure, e.g. `size`
*
- * Returns: the size of @member in the struct definition without having a
+ * Returns the size of @member in the struct definition without having a
* declared instance of @struct_type.
*
+ * Returns: the size of @member in bytes.
+ *
* Since: 2.64
*/
#define G_SIZEOF_MEMBER(struct_type, member) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]