[vala] glib-2.0: Fix GArray binding
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Fix GArray binding
- Date: Thu, 14 Oct 2010 13:00:01 +0000 (UTC)
commit 136c56db32a84a3b0c34b728c8cf171f50224bd1
Author: Jürg Billeter <j bitron ch>
Date: Thu Oct 14 11:12:30 2010 +0200
glib-2.0: Fix GArray binding
Fixes bug 575069.
vapi/glib-2.0.vapi | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index bc60f56..705f9dc 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3970,11 +3970,11 @@ namespace GLib {
public Array (bool zero_terminated, bool clear, ulong element_size);
[CCode (cname = "g_array_sized_new")]
public Array.sized (bool zero_terminated, bool clear, ulong element_size, uint reserved_size);
- public void append_val (G value);
+ public void append_val (owned G value);
public void append_vals (void* data, uint len);
- public void prepend_val (G value);
+ public void prepend_val (owned G value);
public void prepend_vals (void* data, uint len);
- public void insert_val (uint index, G value);
+ public void insert_val (uint index, owned G value);
public void insert_vals (uint index, void* data, uint len);
public void remove_index (uint index);
public void remove_index_fast (uint index);
@@ -3982,7 +3982,7 @@ namespace GLib {
public void sort (CompareFunc<G> compare_func);
public void sort_with_data (CompareDataFunc<G> compare_func);
[CCode (generic_type_pos = 0.1)]
- public G index (uint index);
+ public unowned G index (uint index);
public void set_size (uint length);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]