Add g_vasprintf().

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.
This commit is contained in:
Matthias Clasen 2003-06-05 22:54:55 +00:00 committed by Matthias Clasen
parent 27b3b2c681
commit 53efcd835d
3 changed files with 12 additions and 0 deletions

View 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> 2003-05-28 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/string_utils.sgml: Document that g_strdup() and * glib/tmpl/string_utils.sgml: Document that g_strdup() and

View File

@ -904,6 +904,7 @@ g_sprintf
g_vsprintf g_vsprintf
g_snprintf g_snprintf
g_vsnprintf g_vsnprintf
g_vasprintf
g_printf_string_upper_bound g_printf_string_upper_bound
<SUBSECTION> <SUBSECTION>

View File

@ -181,6 +181,10 @@ but safer, since it calculates the maximum space required and allocates
memory to hold the result. memory to hold the result.
The returned string should be freed when no longer needed. The returned string should be freed when no longer needed.
</para> </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. @format: the standard <function>sprintf()</function> format string.
@args: the list of parameters to insert into the format string. @args: the list of parameters to insert into the format string.