[vala/0.34] vapi: Fix wrong attributes
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.34] vapi: Fix wrong attributes
- Date: Mon, 16 Apr 2018 20:00:36 +0000 (UTC)
commit 24c70ddc1c2ff030e55843188711ea880d0b85e9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Feb 26 18:53:38 2018 +0100
vapi: Fix wrong attributes
vapi/tokyocabinet.vapi | 4 ++--
vapi/xcb.vapi | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/tokyocabinet.vapi b/vapi/tokyocabinet.vapi
index e8803c7..019743b 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 e3bf26b..48992cf 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]