[glib] gprintf: Fix documentation regarding <glib/gprintf.h>



commit c443adeffb3ba92b8e612197dda02dfee9f81338
Author: Martin Blanchard <tchaik gmx com>
Date:   Sat Jan 16 15:56:09 2016 +0100

    gprintf: Fix documentation regarding <glib/gprintf.h>
    
    g_snprintf() and g_vsnprintf() declarations were moved and
    don't require gprintf.h to be included anymore but g_vasprintf()
    is and requires gprintf.h to be explicitly included.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760716

 glib/gstrfuncs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c
index fbcca14..ae052af 100644
--- a/glib/gstrfuncs.c
+++ b/glib/gstrfuncs.c
@@ -64,7 +64,7 @@
  * duplicating, and manipulating strings.
  *
  * Note that the functions g_printf(), g_fprintf(), g_sprintf(),
- * g_snprintf(), g_vprintf(), g_vfprintf(), g_vsprintf() and g_vsnprintf()
+ * g_vprintf(), g_vfprintf(), g_vsprintf() and g_vasprintf()
  * are declared in the header `gprintf.h` which is not included in `glib.h`
  * (otherwise using `glib.h` would drag in `stdio.h`), so you'll have to
  * explicitly include `<glib/gprintf.h>` in order to use the GLib


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