]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Fix a couple of attribute typos
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 16 Mar 2021 16:10:52 +0000 (17:10 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 18 Mar 2021 09:14:48 +0000 (10:14 +0100)
vapi/gnet-2.0.vapi
vapi/libftdi.vapi
vapi/linux.vapi
vapi/posix.vapi
vapi/zlib.vapi

index b15338cbfc791a1649bed912cc2a0b7d28979563..9bafd317eba5126ca3a61d515bc82560e4ef9005 100644 (file)
@@ -115,17 +115,17 @@ namespace GNet {
        }
 
        public class IOChannel {
-               [CCode(name = "gnet_io_channel_writen")]
+               [CCode(cname = "gnet_io_channel_writen")]
                public static GLib.IOError writen(GLib.IOChannel chan, string buf,
                                                                                  size_t len, out size_t bytes_written);
 
-               [CCode(name = "gnet_io_channel_readn")]
+               [CCode(cname = "gnet_io_channel_readn")]
                public static GLib.IOError readn(GLib.IOChannel chan, string buf,
                                                                                 size_t len, out size_t bytes_read);
-               [CCode(name = "gnet_io_channel_readline")]
+               [CCode(cname = "gnet_io_channel_readline")]
                public static GLib.IOError readline(GLib.IOChannel chan, string buf,
                                                                                        size_t len, out size_t bytes_read);
-               [CCode(name = "gnet_io_channel_readline_strdup")]
+               [CCode(cname = "gnet_io_channel_readline_strdup")]
                public static GLib.IOError readline_strdup(GLib.IOChannel chan,
                                                                                                   out string buf,
                                                                                                   size_t bytes_read);
index 7008985a020fc9bd663ee8c06e9689a59e4de424..b98f097e04e188cf80f199586ef7050932709a88 100644 (file)
@@ -1,4 +1,4 @@
-[CCode (cprefix = "FTDI_", lower_case_prefix = "ftdi_", cheader_filename = "ftdi.h")]
+[CCode (cprefix = "FTDI_", lower_case_cprefix = "ftdi_", cheader_filename = "ftdi.h")]
 namespace FTDI {
 
        public const int DEFAULT_EEPROM_SIZE;
index 2984dfa339c4ffdec81651130cb35bff06c48fb3..37441b0faf5f1c4889a2ab393fca35daea458870 100644 (file)
@@ -664,7 +664,7 @@ namespace Linux {
                 SET_TEARSYNC
             }
 
-            [Flags, CCode (cname = "int", has_type_id = false, prefix = "OMAPFB_CAPS_")]
+            [Flags, CCode (cname = "int", has_type_id = false, cprefix = "OMAPFB_CAPS_")]
             public enum Caps {
                 GENERIC_MASK,
                 LCDC_MASK,
index 24c07b3269ce0fcc255db10f1e1592ea4783699d..3bc992d55f4cb4ef9bf529af46266655154b00c5 100644 (file)
@@ -2496,11 +2496,11 @@ namespace Posix {
        [CCode (cheader_filename = "unistd.h")]
        public int execlp (string path, params string[] arg);
        [CCode (cheader_filename = "unistd.h")]
-       public int execv (string path, [CCode (array_length = false, null_terminated = true)] string[] arg);
+       public int execv (string path, [CCode (array_length = false, array_null_terminated = true)] string[] arg);
        [CCode (cheader_filename = "unistd.h")]
-       public int execvp (string path, [CCode (array_length = false, null_terminated = true)] string[] arg);
+       public int execvp (string path, [CCode (array_length = false, array_null_terminated = true)] string[] arg);
        [CCode (cheader_filename = "unistd.h")]
-       public int pipe ([CCode (array_length = false, null_terminated = false)] int[] pipefd);
+       public int pipe ([CCode (array_length = false, array_null_terminated = false)] int[] pipefd);
        [CCode (cheader_filename = "unistd.h")]
        public ssize_t read (int fd, void* buf, size_t count);
        [CCode (cheader_filename = "unistd.h")]
index 2ce34ad16cd208dd4988ca343c0b9ae86d5babd9..6f76ba9412bdbb9d6d5f8f1ab14d65aca0a1ba2a 100644 (file)
@@ -139,7 +139,7 @@ namespace ZLib {
                public int inflate (int flush);
                [CCode (cname = "inflateSetDictionary")]
                public int set_dictionary ([CCode (array_length_type = "guint")] uint8[] dictionary);
-               [CCode (cnmae = "inflateSync")]
+               [CCode (cname = "inflateSync")]
                public int sync ();
                public int reset ();
                public int prime (int bits, int value);