[vala] glib-2.0: Set simple_generics for Thread.foreach
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Set simple_generics for Thread.foreach
- Date: Mon, 25 Apr 2011 09:46:48 +0000 (UTC)
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]