mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-12 13:49:22 +01:00
Rename g_string_printfa() to g_string_append_printf(). (#61041, Havoc
Mon Oct 1 16:01:24 2001 Owen Taylor <otaylor@redhat.com> * glib/gstring.[ch] glib/grel.c: Rename g_string_printfa() to g_string_append_printf(). (#61041, Havoc Pennington.)
This commit is contained in:
parent
58d6b101ca
commit
ce83d7fb82
@ -1,3 +1,8 @@
|
||||
Mon Oct 1 16:01:24 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstring.[ch] glib/grel.c: Rename g_string_printfa()
|
||||
to g_string_append_printf(). (#61041, Havoc Pennington.)
|
||||
|
||||
2001-10-01 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gwin32.c: Documentation cleanups. (#61487)
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 1 16:01:24 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstring.[ch] glib/grel.c: Rename g_string_printfa()
|
||||
to g_string_append_printf(). (#61041, Havoc Pennington.)
|
||||
|
||||
2001-10-01 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gwin32.c: Documentation cleanups. (#61487)
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 1 16:01:24 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstring.[ch] glib/grel.c: Rename g_string_printfa()
|
||||
to g_string_append_printf(). (#61041, Havoc Pennington.)
|
||||
|
||||
2001-10-01 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gwin32.c: Documentation cleanups. (#61487)
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 1 16:01:24 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstring.[ch] glib/grel.c: Rename g_string_printfa()
|
||||
to g_string_append_printf(). (#61041, Havoc Pennington.)
|
||||
|
||||
2001-10-01 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gwin32.c: Documentation cleanups. (#61487)
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 1 16:01:24 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstring.[ch] glib/grel.c: Rename g_string_printfa()
|
||||
to g_string_append_printf(). (#61041, Havoc Pennington.)
|
||||
|
||||
2001-10-01 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gwin32.c: Documentation cleanups. (#61487)
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 1 16:01:24 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstring.[ch] glib/grel.c: Rename g_string_printfa()
|
||||
to g_string_append_printf(). (#61041, Havoc Pennington.)
|
||||
|
||||
2001-10-01 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gwin32.c: Documentation cleanups. (#61487)
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 1 16:01:24 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstring.[ch] glib/grel.c: Rename g_string_printfa()
|
||||
to g_string_append_printf(). (#61041, Havoc Pennington.)
|
||||
|
||||
2001-10-01 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gwin32.c: Documentation cleanups. (#61487)
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 1 16:01:24 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstring.[ch] glib/grel.c: Rename g_string_printfa()
|
||||
to g_string_append_printf(). (#61041, Havoc Pennington.)
|
||||
|
||||
2001-10-01 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gwin32.c: Documentation cleanups. (#61487)
|
||||
|
@ -397,7 +397,7 @@ g_relation_print_one (gpointer tuple_key,
|
||||
|
||||
for (i = 0; i < rel->fields; i += 1)
|
||||
{
|
||||
g_string_printfa (gstring, "%p", tuples[i]);
|
||||
g_string_append_printf (gstring, "%p", tuples[i]);
|
||||
|
||||
if (i < (rel->fields - 1))
|
||||
g_string_append (gstring, ",");
|
||||
|
@ -712,9 +712,9 @@ g_string_up (GString *string)
|
||||
}
|
||||
|
||||
static void
|
||||
g_string_printfa_internal (GString *string,
|
||||
const gchar *fmt,
|
||||
va_list args)
|
||||
g_string_append_printf_internal (GString *string,
|
||||
const gchar *fmt,
|
||||
va_list args)
|
||||
{
|
||||
gchar *buffer;
|
||||
|
||||
@ -733,18 +733,18 @@ g_string_printf (GString *string,
|
||||
g_string_truncate (string, 0);
|
||||
|
||||
va_start (args, fmt);
|
||||
g_string_printfa_internal (string, fmt, args);
|
||||
g_string_append_printf_internal (string, fmt, args);
|
||||
va_end (args);
|
||||
}
|
||||
|
||||
void
|
||||
g_string_printfa (GString *string,
|
||||
const gchar *fmt,
|
||||
...)
|
||||
g_string_append_printf (GString *string,
|
||||
const gchar *fmt,
|
||||
...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
va_start (args, fmt);
|
||||
g_string_printfa_internal (string, fmt, args);
|
||||
g_string_append_printf_internal (string, fmt, args);
|
||||
va_end (args);
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ GString* g_string_ascii_up (GString *string);
|
||||
void g_string_printf (GString *string,
|
||||
const gchar *format,
|
||||
...) G_GNUC_PRINTF (2, 3);
|
||||
void g_string_printfa (GString *string,
|
||||
void g_string_append_printf (GString *string,
|
||||
const gchar *format,
|
||||
...) G_GNUC_PRINTF (2, 3);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user