[vala] glib-2.0: Add vprintf variant functions
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Add vprintf variant functions
- Date: Sat, 10 Jul 2010 08:09:10 +0000 (UTC)
commit 794f698e5813bf5e90ca7dd0fe2a15360e5703f9
Author: Luca Bruno <lethalman88 gmail com>
Date: Sat Jul 10 10:00:40 2010 +0200
glib-2.0: Add vprintf variant functions
vapi/glib-2.0.vapi | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 596570a..ba89c88 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -943,6 +943,8 @@ public class string {
public bool has_suffix (string suffix);
[CCode (cname = "g_strdup_printf"), PrintfFormat]
public string printf (...);
+ [CCode (cname = "g_strdup_vprintf")]
+ public string vprintf (va_list args);
[CCode (cname = "sscanf", cheader_filename = "stdio.h"), ScanfFormat]
public int scanf (...);
[CCode (cname = "g_strconcat")]
@@ -3042,6 +3044,7 @@ namespace GLib {
public static string escape_text (string text, ssize_t length = -1);
[PrintfFormat]
public static string printf_escaped (string format, ...);
+ public static string vprintf_escaped (string format, va_list args);
[CCode (sentinel = "G_MARKUP_COLLECT_INVALID")]
public static bool collect_attributes (string element_name, string[] attribute_names, string[] attribute_values, ...) throws MarkupError;
}
@@ -3561,6 +3564,8 @@ namespace GLib {
public void printf (string format, ...);
[PrintfFormat]
public void append_printf (string format, ...);
+ public void vprintf (string format, va_list args);
+ public void append_vprintf (string format, va_list args);
public string str;
public ssize_t len;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]