[vala] glib-2.0: Add GSource methods introduced in glib 2.36
- From: Michal Hruby <mhruby src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Add GSource methods introduced in glib 2.36
- Date: Mon, 29 Jul 2013 12:44:19 +0000 (UTC)
commit 45f6d3297ca1f229a8f075353953c5f9a5d6fe73
Author: Michal Hruby <michal mhr gmail com>
Date: Mon Jul 29 13:43:36 2013 +0100
glib-2.0: Add GSource methods introduced in glib 2.36
vapi/glib-2.0.vapi | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 74dab09..e74920d 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1616,6 +1616,10 @@ namespace GLib {
public unowned MainContext get_context ();
public void set_callback (owned SourceFunc func);
public void set_callback_indirect (void* callback_data, SourceCallbackFuncs callback_funcs);
+ public void* add_unix_fd (int fd, IOCondition events);
+ public void remove_unix_fd (void* tag);
+ public void modify_unix_fd (void* tag, IOCondition new_events);
+ public IOCondition query_unix_fd (void* tag);
public void add_poll (ref PollFD fd);
public void remove_poll (ref PollFD fd);
public void add_child_source (Source child_source);
@@ -1623,6 +1627,8 @@ namespace GLib {
public int64 get_time ();
[Deprecated (since = "2.28", replacement = "get_time")]
public void get_current_time (out TimeVal timeval);
+ public void set_ready_time (int64 ready_time);
+ public int64 get_ready_time ();
public static bool remove (uint id);
public static bool remove_by_funcs_user_data (void* user_data);
public static bool remove_by_user_data (void* user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]