[vala/staging] curses: Correctly use [PrintfFormat] attribute



commit 1d1a0ccfaba157c306ee21dad51dc191dabddb48
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Oct 25 19:24:11 2020 +0100

    curses: Correctly use [PrintfFormat] attribute

 vapi/curses.vapi | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/vapi/curses.vapi b/vapi/curses.vapi
index fc5dc25e3..540e65849 100644
--- a/vapi/curses.vapi
+++ b/vapi/curses.vapi
@@ -125,10 +125,10 @@ namespace Curses {
                [CCode (cname = "mvwinstr")]
                public int mvinstr(int y, int x, string str);
                [CCode (cname = "mvwprintw")]
-               [PrintfLike]
+               [PrintfFormat]
                public int mvprintw(int y, int x, string str, ...);
                [CCode (cname = "mvwscanw")]
-               [PrintfLike]
+               [PrintfFormat]
                public int mvscanw(int y, int x, string str, ...);
                [CCode (cname = "mvwvline")]
                public int mvvline(int y, int x, ulong ch, int n);
@@ -233,7 +233,7 @@ namespace Curses {
                [CCode (cname = "wnoutrefresh")]
                public int noutrefresh();
                [CCode (cname = "wprintw")]
-               [PrintfLike]
+               [PrintfFormat]
                public int printw(string str, ...);
                [CCode (cname = "vw_printw")]
                public int vprintw(string str, va_list args);
@@ -242,7 +242,7 @@ namespace Curses {
                [CCode (cname = "wrefresh")]
                public int refresh();
                [CCode (cname = "wscanw")]
-               [PrintfLike]
+               [PrintfFormat]
                public int scanw(string str, ...);
                [CCode (cname = "vw_scanw")]
                public int vscanw(string str, va_list args);
@@ -373,9 +373,9 @@ namespace Curses {
        public int mvinsnstr(int y, int x, string str, int n);
        public int mvinsstr(int y, int x, string str);
        public int mvinstr(int y, int x, string str);
-       [PrintfLike]
+       [PrintfFormat]
        public int mvprintw(int y, int x, string str, ...);
-       [PrintfLike]
+       [PrintfFormat]
        public int mvscanw(int y, int x, string str, ...);
        public int mvvline(int y, int x, ulong ch, int n);
        public int napms(int ms);
@@ -387,7 +387,7 @@ namespace Curses {
        public int noraw();
        public int pair_content(short pair, ref Color f, ref Color b);
        public int PAIR_NUMBER(int attrs);
-       [PrintfLike]
+       [PrintfFormat]
        public int printw(string str, ...);
        public void qiflush();
        public int raw();
@@ -398,7 +398,7 @@ namespace Curses {
        public delegate int RipofflineInitFunc(Window win, int n);
        public int ripoffline(int line, RipofflineInitFunc init);
        public int savetty();
-       [PrintfLike]
+       [PrintfFormat]
        public int scanw(string str, ...);
        public int scr_dump(string str);
        public int scr_init(string str);


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