[vala/0.10] glib-2.0: Fix GArray binding
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] glib-2.0: Fix GArray binding
- Date: Tue, 19 Oct 2010 19:02:03 +0000 (UTC)
commit fcc1af7cb6a892443c5340c227f03f6e51cb7724
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 43dc2e5..237adb1 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3953,11 +3953,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);
@@ -3965,7 +3965,7 @@ namespace GLib {
public void sort (CompareFunc compare_func);
public void sort_with_data (CompareDataFunc 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]