[vala] gobject-2.0: Add binding for g_value_array_copy
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] gobject-2.0: Add binding for g_value_array_copy
- Date: Sat, 15 Aug 2009 12:20:00 +0000 (UTC)
commit 97fe85a3d68c6f916ae04cd51d868cd5f81f30ff
Author: Mark Lee <marklee src gnome org>
Date: Mon Aug 10 13:10:21 2009 -0700
gobject-2.0: Add binding for g_value_array_copy
Fixes bug 591370.
vapi/gobject-2.0.vapi | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index fafb53c..3b3ebb8 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -353,11 +353,12 @@ namespace GLib {
public static delegate void ClosureNotify (void* data, Closure closure);
[Compact]
- [CCode (type_id = "G_TYPE_VALUE_ARRAY")]
+ [CCode (type_id = "G_TYPE_VALUE_ARRAY", copy_function = "g_value_array_copy")]
public class ValueArray {
public uint n_values;
public Value[] values;
public ValueArray (uint n_prealloced);
+ public ValueArray copy ();
public weak Value? get_nth (uint index_);
public void append (Value value);
public void prepend (Value value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]