[gobject-introspection: 1/2] docs: Field offsets are in the units of bytes



commit f418eab3a714213a348bf288e5d5280acd8cd600
Author: Tomasz Miąsko <tomasz miasko gmail com>
Date:   Fri Dec 14 00:00:00 2018 +0000

    docs: Field offsets are in the units of bytes

 girepository/gifieldinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/girepository/gifieldinfo.c b/girepository/gifieldinfo.c
index b5264ec7..0a20bdb2 100644
--- a/girepository/gifieldinfo.c
+++ b/girepository/gifieldinfo.c
@@ -109,7 +109,7 @@ g_field_info_get_size (GIFieldInfo *info)
  * g_field_info_get_offset:
  * @info: a #GIFieldInfo
  *
- * Obtain the offset in bits of the field member, this is relative
+ * Obtain the offset in bytes of the field member, this is relative
  * to the beginning of the struct or union.
  *
  * Returns: the field offset


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]