[vala] curses: add vprintw and vscanw bindings to Window



commit 8d04233862d15af863a7ce12881a0c1460f34c2a
Author: Pierre Lamot <pierre lamot yahoo fr>
Date:   Fri Feb 8 00:03:56 2013 -0800

    curses: add vprintw and vscanw bindings to Window
    
    Fixes bug 692748.

 vapi/curses.vapi |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/vapi/curses.vapi b/vapi/curses.vapi
index 6bf0faf..68e0383 100644
--- a/vapi/curses.vapi
+++ b/vapi/curses.vapi
@@ -221,6 +221,8 @@ namespace Curses {
 		[CCode (cname = "wprintw")]
 		[PrintfLike]
 		public int printw(string str, ...);
+		[CCode (cname = "vw_printw")]
+		public int vprintw(string str, va_list args);
 		[CCode (cname = "wredrawln")]
 		public int redrawln(int beg_line, int num_lines);
 		[CCode (cname = "wrefresh")]
@@ -228,6 +230,8 @@ namespace Curses {
 		[CCode (cname = "wscanw")]
 		[PrintfLike]
 		public int scanw(string str, ...);
+		[CCode (cname = "vw_scanw")]
+		public int vscanw(string str, va_list args);
 		[CCode (cname = "wscrl")]
 		public int scrl(int n);
 		[CCode (cname = "wsetscrreg")]
@@ -418,7 +422,6 @@ namespace Curses {
 	public delegate int VidputsPutcFunc(char ch);
 	public int vidputs(ulong attrs, VidputsPutcFunc putc);
 	public int vline(ulong ch, int n);
-	/* no vwprintw, vw_printw, vwscanw, vw_scanw - va_list */
 
 	[CCode (cprefix = "A_")]
 	public enum Attribute {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]