[vala] glib-2.0: Set simple_generics for Thread.foreach



commit 7fbb291a5933704b8c1b187f5bcd570aab88482c
Author: Luca Bruno <lucabru src gnome org>
Date:   Mon Apr 25 11:44:58 2011 +0200

    glib-2.0: Set simple_generics for Thread.foreach
    
    Fixes bug 648588.

 vapi/glib-2.0.vapi |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 49eb993..e4c9640 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1824,6 +1824,7 @@ namespace GLib {
 		public void set_priority (ThreadPriority priority);
 		public static void yield ();
 		public static void exit (T retval);
+		[CCode (simple_generics = true)]
 		public static void @foreach<T> (Func<T> thread_func);
 
 		[CCode (cname = "g_usleep")]



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