[vala/0.50] fuse: Fix a few binding errors



commit 92e863397577b1b94edc6b248a4b7e05b2ec5a80
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Jan 31 09:03:58 2021 +0100

    fuse: Fix a few binding errors

 vapi/fuse.vapi | 56 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)
---
diff --git a/vapi/fuse.vapi b/vapi/fuse.vapi
index d2c4b6c22..5b40288f3 100644
--- a/vapi/fuse.vapi
+++ b/vapi/fuse.vapi
@@ -44,65 +44,65 @@ namespace Fuse {
                Fuse fuse;
                Posix.uid_t uid;
                Posix.gid_t gid;
-               /*Posix.pid_t pid;*/
+               Posix.pid_t pid;
                void *private_data;
        }
 
        [CCode (cname = "fuse_fill_dir_t", has_target = false)]
        public delegate int FillDir (void* buf, string name, Posix.Stat? st, Posix.off_t offset);
 
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int GetAttr (string path, Posix.Stat* st);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Access (string path, int mask);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int ReadLink (string path, char* buf, size_t size);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int ReadDir (string path, void* buf, FillDir filler, Posix.off_t offset, ref FileInfo 
fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int MkNod (string path, Posix.mode_t mode, Posix.dev_t rdev);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int MkDir (string path, Posix.mode_t mode);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Unlink (string path);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int RmDir (string path);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Symlink (string from, string to);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Rename (string from, string to);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Link (string from, string to);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Chmod (string path, Posix.mode_t mode);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Chown (string path, Posix.uid_t uid, Posix.gid_t gid);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Truncate (string path, Posix.off_t size);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Utimens (string path, Posix.timespec[] ts);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Create(string path, Posix.mode_t mode, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Open (string path, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Read (string path, char* buf, size_t size, Posix.off_t offset, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Write (string path, char* buf, size_t size, Posix.off_t offset, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int StatFs (string path, Posix.statvfs *stbuf);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Release (string path, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Fsync (string path, int isdatasync, ref FileInfo fi);
 
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int SetXAttr (string path, string name, char* value, size_t size, int flags);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int GetXAttr (string path, string name, char* value, size_t size);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int ListXAttr (string path, char* list, size_t size);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int RemoveXAttr (string path, string name);
 
        [CCode (cname = "struct fuse_operations", has_type_id = false)]
@@ -136,5 +136,5 @@ namespace Fuse {
        }
 
        public int main ([CCode (array_length_pos = 0.9)] string[] args, Operations oper, void *user_data);
-       public Context get_context ();
+       public Context? get_context ();
 }


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