]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: add g_strsignal binding
authorRobert Ancell <robert.ancell@gmail.com>
Sat, 23 Oct 2010 08:29:12 +0000 (01:29 -0700)
committerJürg Billeter <j@bitron.ch>
Tue, 26 Oct 2010 18:07:02 +0000 (20:07 +0200)
Fixes bug 628934.

vapi/glib-2.0.vapi

index 29534aae08fff81a3fc71f135414f08785767d11..c840d4cc6f75fb8364138cc8fd720b23e5095b96 100644 (file)
@@ -2678,6 +2678,8 @@ namespace GLib {
        [CCode (has_target = false, cheader_filename = "signal.h")]
        public delegate void SignalHandlerFunc (int signum);
 
+       public unowned string strsignal (int signum);
+
        [CCode (lower_case_cprefix = "g_")]
        namespace Process {
                public static bool spawn_async_with_pipes (string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid, out int standard_input = null, out int standard_output = null, out int standard_error = null) throws SpawnError;