]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
curses: add vprintw and vscanw bindings to Window
authorPierre Lamot <pierre.lamot@yahoo.fr>
Fri, 8 Feb 2013 08:03:56 +0000 (00:03 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 8 Feb 2013 08:03:56 +0000 (00:03 -0800)
Fixes bug 692748.

vapi/curses.vapi

index 6bf0fafb1425a3fa8665dbd4f191779de870b2a3..68e038324f8ded6da8fe7975c1303a11250bb533 100644 (file)
@@ -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 {