]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libgvc: Add missing PrintfFormat annotations
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 6 Oct 2017 06:57:22 +0000 (08:57 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 6 Oct 2017 07:06:28 +0000 (09:06 +0200)
vapi/libgvc.vapi

index 43b38aaa16c49e419a92d34d464bdd95540c166d..75ca714419f413605111f6e10375acb8f754107e 100644 (file)
@@ -184,6 +184,7 @@ namespace Gvc {
                public static ErrorLevel errno;
 
                [CCode (cname = "agerr")]
+               [PrintfFormat]
                public static int error (ErrorLevel level, string fmt, ...);
 
                [CCode (cname = "agerrors")]
@@ -196,9 +197,11 @@ namespace Gvc {
                public static string? last_error ();
 
                [CCode (cname = "agerrorf")]
+               [PrintfFormat]
                public static void errorf (string format, ...);
 
                [CCode (cname = "agwarningf")]
+               [PrintfFormat]
                void warningf (string fmt, ...);
        }