[glib] gbase64: Document that g_base64_encode_close() does not nul-terminate



commit e6e38f4b8a44e8df3915736a194010f287765da1
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Mar 17 11:30:24 2017 +0000

    gbase64: Document that g_base64_encode_close() does not nul-terminate
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib/gbase64.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/glib/gbase64.c b/glib/gbase64.c
index a6cbea4..7bca5ab 100644
--- a/glib/gbase64.c
+++ b/glib/gbase64.c
@@ -192,6 +192,8 @@ g_base64_encode_step (const guchar *in,
  * be written to it. It will need up to 4 bytes, or up to 5 bytes if
  * line-breaking is enabled.
  *
+ * The @out array will not be automatically nul-terminated.
+ *
  * Returns: The number of bytes of output that was written
  *
  * Since: 2.12


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