mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 03:04:05 +02:00
One forgotten moved doc
This commit is contained in:
@@ -1210,9 +1210,19 @@ g_printerr (const gchar *format,
|
|||||||
g_free (string);
|
g_free (string);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* g_printf_string_upper_bound:
|
||||||
|
* @format: the format string. See the printf() documentation
|
||||||
|
* @args: the parameters to be inserted into the format string
|
||||||
|
*
|
||||||
|
* Calculates the maximum space needed to store the output
|
||||||
|
* of the sprintf() function.
|
||||||
|
*
|
||||||
|
* Returns: the maximum space needed to store the formatted string
|
||||||
|
*/
|
||||||
gsize
|
gsize
|
||||||
g_printf_string_upper_bound (const gchar *format,
|
g_printf_string_upper_bound (const gchar *format,
|
||||||
va_list args)
|
va_list args)
|
||||||
{
|
{
|
||||||
gchar c;
|
gchar c;
|
||||||
return _g_vsnprintf (&c, 1, format, args) + 1;
|
return _g_vsnprintf (&c, 1, format, args) + 1;
|
||||||
|
Reference in New Issue
Block a user