[vala/staging] posix: Add missing "has_typedef" attribute for some delegates



commit 920d2c4ea4f6eb88c1e91f0a29850722bfc7cb19
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Aug 9 16:43:28 2020 +0200

    posix: Add missing "has_typedef" attribute for some delegates

 vapi/posix.vapi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index e6f0cf6be..c2cab8465 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1648,7 +1648,7 @@ namespace Posix {
        [CCode (cheader_filename = "stdlib.h")]
        public void _exit (int status);
 
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate void AtExitFunc ();
 
        [CCode (cheader_filename = "stdlib.h")]
@@ -3397,8 +3397,8 @@ namespace Posix {
                }
        }
 
-       [CCode (has_target = false)]
-       public delegate int GlobErrorFunction (string filename, int errcode);
+       [CCode (has_target = false, has_typedef = false)]
+       public delegate int GlobErrorFunc (string filename, int errcode);
 
        [CCode (cheader_filename = "glob.h")]
        public const int GLOB_ERR;
@@ -3448,7 +3448,7 @@ namespace Posix {
                public size_t offs;
 
                [CCode (cname = "glob", instance_pos = -1)]
-               public int glob (string pattern, int flags = 0, GlobErrorFunction? errfunc = null);
+               public int glob (string pattern, int flags = 0, GlobErrorFunc? errfunc = null);
        }
 
        [CCode (cheader_filename = "langinfo.h", cname = "nl_item", cprefix = "", has_type_id = false)]


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