mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
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
This commit is contained in:
parent
85680f4a06
commit
c443adeffb
@ -64,7 +64,7 @@
|
|||||||
* duplicating, and manipulating strings.
|
* duplicating, and manipulating strings.
|
||||||
*
|
*
|
||||||
* Note that the functions g_printf(), g_fprintf(), g_sprintf(),
|
* 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`
|
* 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
|
* (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
|
* explicitly include `<glib/gprintf.h>` in order to use the GLib
|
||||||
|
Loading…
Reference in New Issue
Block a user