From 794f698e5813bf5e90ca7dd0fe2a15360e5703f9 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Sat, 10 Jul 2010 10:00:40 +0200 Subject: [PATCH] glib-2.0: Add vprintf variant functions --- vapi/glib-2.0.vapi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 596570a6..ba89c880 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; -- 2.11.4.GIT