Add g_vasprintf().
authorMatthias Clasen <maclas@gmx.de>
Thu, 5 Jun 2003 22:54:55 +0000 (22:54 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 5 Jun 2003 22:54:55 +0000 (22:54 +0000)
2003-06-06  Matthias Clasen  <maclas@gmx.de>

* glib/glib-sections.txt: Add g_vasprintf().

* glib/tmpl/string_utils.sgml: Add a hint about g_vasprintf() to
the g_strdup_printf() docs.

docs/reference/ChangeLog
docs/reference/glib/glib-sections.txt
docs/reference/glib/tmpl/string_utils.sgml

index 480aa96..890efa9 100644 (file)
@@ -1,3 +1,10 @@
+2003-06-06  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/glib-sections.txt: Add g_vasprintf().
+
+       * glib/tmpl/string_utils.sgml: Add a hint about g_vasprintf() to
+       the g_strdup_printf() docs.
+
 2003-05-28  Matthias Clasen  <maclas@gmx.de>
 
        * glib/tmpl/string_utils.sgml: Document that g_strdup() and
index c3837c9..d7674af 100644 (file)
@@ -904,6 +904,7 @@ g_sprintf
 g_vsprintf
 g_snprintf
 g_vsnprintf
+g_vasprintf
 g_printf_string_upper_bound
 
 <SUBSECTION>
index 2778f4d..99ae34f 100644 (file)
@@ -181,6 +181,10 @@ but safer, since it calculates the maximum space required and allocates
 memory to hold the result.
 The returned string should be freed when no longer needed.
 </para>
+<para>
+See also g_vasprintf(), which offers the same functionality, but additionally
+returns the length of the allocated string. 
+</para>
 
 @format: the standard <function>sprintf()</function> format string.
 @args: the list of parameters to insert into the format string.