[vala] glib-2.0: Add missing g_ptr_array_index() binding.



commit e26372293440206d495ec781bb411f55252f8e00
Author: Eric Alber <eric alber gmail com>
Date:   Tue Nov 24 01:52:21 2009 -0800

    glib-2.0: Add missing g_ptr_array_index() binding.
    
    Fixes bug 595781.

 vapi/glib-2.0.vapi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 20753c7..dd92f1c 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3352,6 +3352,8 @@ namespace GLib {
 		[CCode (cname = "g_ptr_array_sized_new")]
 		public PtrArray.sized (uint reserved_size);
 		public void add (void* data);
+		[CCode (cname = "g_ptr_array_index")]
+		public void* index(uint index);
 		public bool remove (void* data);
 		public void* remove_index (uint index);
 		public bool remove_fast (void *data);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]