]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Fix wrong attributes
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 26 Feb 2018 17:53:38 +0000 (18:53 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 26 Feb 2018 19:39:28 +0000 (20:39 +0100)
vapi/tokyocabinet.vapi
vapi/xcb.vapi

index e8803c7f5ad7c770ce29da797d50242db6d3c56c..019743bd6e39836160e4031ded4e4375dd7f47f5 100644 (file)
@@ -64,7 +64,7 @@ namespace TokyoCabinet {
                }
        }
 
-       [Compact, CCode (cname = "TCXSTR", crpefix = "tcxstr", free_function = "tcxstrdel", cheader_filename = "tcutil.h", copy_function = "tcxstrdup")]
+       [Compact, CCode (cname = "TCXSTR", cprefix = "tcxstr", free_function = "tcxstrdel", cheader_filename = "tcutil.h", copy_function = "tcxstrdup")]
        public class XString {
                public XString ();
                [CCode (cname = "tcxstrnew2")]
@@ -433,7 +433,7 @@ namespace TokyoCabinet {
                public bool remove_string (string key);
                [CCode (cname = "tcndbget")]
                private unowned uint8[]? _get (uint8[] key);
-               [CCode (name = "_vala_tcndbget")]
+               [CCode (cname = "_vala_tcndbget")]
                public uint8[]? get (uint8[] key) {
                        return TokyoCabinet.Memory.copy_and_free (this._get (key));
                }
index e3bf26b0e0c0a97f85b9b2a35d76beb8ceda5f55..48992cf8df04c2e1d28eedd669bbfdb10b37446f 100644 (file)
@@ -1969,7 +1969,7 @@ namespace Xcb {
                OWNER_GRAB_BUTTON
        }
 
-       [Simple]
+       [SimpleType]
        [CCode (cname = "xcb_format_t", has_type_id = false)]
        public struct Format {
                public uint8 depth;