[vala] gobject-2.0: Fix EnumClass and FlagsClass bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gobject-2.0: Fix EnumClass and FlagsClass bindings
- Date: Mon, 12 Jul 2010 18:28:22 +0000 (UTC)
commit 74f496da3cfa4b1d011a08f785aefd8ef750a5b5
Author: Jürg Billeter <j bitron ch>
Date: Mon Jul 12 20:18:31 2010 +0200
gobject-2.0: Fix EnumClass and FlagsClass bindings
vapi/gobject-2.0.vapi | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index a3876d3..9da1b2f 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -371,6 +371,7 @@ namespace GLib {
public int minimum;
public int maximum;
public uint n_values;
+ [CCode (array_length_cname = "n_values")]
public unowned EnumValue[] values;
}
@@ -388,6 +389,7 @@ namespace GLib {
public unowned FlagsValue? get_value_by_nick (string name);
public uint mask;
public uint n_values;
+ [CCode (array_length_cname = "n_values")]
public FlagsValue[] values;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]