]> 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)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 23 Oct 2010 08:29:12 +0000 (01:29 -0700)
Fixes bug 628934.

vapi/glib-2.0.vapi

index 29b73a229a8011cd6630f8f72ea9922d022ac0c0..190856b189296cc3b77e92bd730b99cd96f2250a 100644 (file)
@@ -2693,6 +2693,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;