[Vala] [PATCH] Fix some GSList bindings (looking to GList)



Index: vapi/glib-2.0.vala
===================================================================
--- vapi/glib-2.0.vala  (revision 294)
+++ vapi/glib-2.0.vala  (working copy)
@@ -1458,15 +1458,17 @@
                public void free ();
               
                public uint length ();
-               public ref SList<G> copy ();
+               public ref SList<weak G> copy ();
                [ReturnsModifiedPointer ()]
                public void reverse ();
                [ReturnsModifiedPointer ()]
+               public void sort (CompareFunc compare_func);
+               [ReturnsModifiedPointer ()]
                public void concat (ref SList<G> list2);
               
                public weak SList<G> last ();
                public weak SList<G> nth (uint n);
-               public pointer nth_data (uint n);
+               public weak G nth_data (uint n);
               
                public weak SList<G> find (G data);
                public weak SList<G> find_custom (G data, CompareFunc func);



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