summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-12-05 18:47:51 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2019-12-06 09:29:08 +0100
commite0a963f2c54aefd0bdcc899434209edc0b3ba4e8 (patch)
tree7dffe7c277aff4fd3eac15393aa86501b9f628f7
parentcf4a50cbbfd45f88256c1ac669dc511f634bb54f (diff)
downloadvala-e0a963f2c54aefd0bdcc899434209edc0b3ba4e8.tar.gz
glib-2.0: Add new symbols from 2.64
-rw-r--r--vapi/glib-2.0.vapi10
1 files changed, 10 insertions, 0 deletions
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 6453ee841..6a2109f3e 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1958,6 +1958,9 @@ namespace GLib {
}
public delegate void ChildWatchFunc (Pid pid, int status);
+ [Version (since = "2.64")]
+ [CCode (has_target = false)]
+ public delegate void SourceDisposeFunc (Source source);
[CCode (cname = "GSource")]
public class ChildWatchSource : Source {
@@ -2008,6 +2011,8 @@ 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);
+ [Version (since = "2.64")]
+ public void set_dispose_function (SourceDisposeFunc dispose);
[Version (since = "2.36")]
public void* add_unix_fd (int fd, IOCondition events);
[Version (since = "2.36")]
@@ -6064,6 +6069,11 @@ namespace GLib {
public SignalSource (int signum);
}
+#if UNIX
+ [Version (since = "2.64")]
+ [CCode (cheader_filename = "glib-unix.h")]
+ public static Posix.Passwd get_passwd_entry (string user_name) throws GLib.Error;
+#endif
[Version (since = "2.30")]
[CCode (cheader_filename = "glib-unix.h")]
public static bool open_pipe ([CCode (array_length = false, array_null_terminated = false)] int[] fds, int flags) throws GLib.Error;