From: Rico Tzschichholz Date: Mon, 26 Feb 2018 17:53:38 +0000 (+0100) Subject: vapi: Fix wrong attributes X-Git-Tag: 0.39.92~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc179c8e8e725cdc7c5d078141413d378a4f13ee;p=thirdparty%2Fvala.git vapi: Fix wrong attributes --- diff --git a/vapi/tokyocabinet.vapi b/vapi/tokyocabinet.vapi index e8803c7f5..019743bd6 100644 --- a/vapi/tokyocabinet.vapi +++ b/vapi/tokyocabinet.vapi @@ -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)); } diff --git a/vapi/xcb.vapi b/vapi/xcb.vapi index e3bf26b0e..48992cf8d 100644 --- a/vapi/xcb.vapi +++ b/vapi/xcb.vapi @@ -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;