From: Pierre Lamot Date: Fri, 8 Feb 2013 08:03:56 +0000 (-0800) Subject: curses: add vprintw and vscanw bindings to Window X-Git-Tag: 0.19.0~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d04233862d15af863a7ce12881a0c1460f34c2a;p=thirdparty%2Fvala.git curses: add vprintw and vscanw bindings to Window Fixes bug 692748. --- diff --git a/vapi/curses.vapi b/vapi/curses.vapi index 6bf0fafb1..68e038324 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 {