[glib: 9/10] Add extra documentation about the return values of g_seekable_tell()




commit e642562fff90928650fe4fe37bcb456f572731a2
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Thu Apr 22 14:33:18 2021 +0200

    Add extra documentation about the return values of g_seekable_tell()

 gio/gseekable.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gio/gseekable.c b/gio/gseekable.c
index 28e815703..9689a77b6 100644
--- a/gio/gseekable.c
+++ b/gio/gseekable.c
@@ -59,7 +59,8 @@ g_seekable_default_init (GSeekableInterface *iface)
  * 
  * Tells the current position within the stream.
  * 
- * Returns: the offset from the beginning of the buffer.
+ * Returns: the (positive or zero) offset from the beginning of the
+ * buffer, zero if the target is not seekable.
  **/
 goffset
 g_seekable_tell (GSeekable *seekable)


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