[vala] glib-2.0: Support owned delegates with Timeout.add
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Support owned delegates with Timeout.add
- Date: Thu, 17 Sep 2009 18:44:28 +0000 (UTC)
commit 925ae5e9d2b3c536f007e9706470b2790c1485c5
Author: Jürg Billeter <j bitron ch>
Date: Thu Sep 17 18:42:28 2009 +0200
glib-2.0: Support owned delegates with Timeout.add
vapi/glib-2.0.vapi | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 7133e21..c62b34d 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1251,7 +1251,8 @@ namespace GLib {
}
namespace Timeout {
- public static uint add (uint interval, SourceFunc function);
+ [CCode (cname = "g_timeout_add_full")]
+ public static uint add (uint interval, owned SourceFunc function, [CCode (pos = 0.1)] int priority = 0);
public static uint add_full (int priority, uint interval, owned SourceFunc function);
public static uint add_seconds (uint interval, SourceFunc function);
public static uint add_seconds_full (int priority, uint interval, owned SourceFunc function);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]