From: Evan Nemerson Date: Sun, 1 Nov 2009 03:03:37 +0000 (-0700) Subject: libgnome-2.0: Fix gnome_execute_* bindings. X-Git-Tag: 0.7.9~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36bccdcdbaa4204d566fd23659945c6bdf39dc91;p=thirdparty%2Fvala.git libgnome-2.0: Fix gnome_execute_* bindings. Fixes bug 599346. --- diff --git a/vapi/libgnome-2.0.vapi b/vapi/libgnome-2.0.vapi index b2fd18379..2c7a7abc2 100644 --- a/vapi/libgnome-2.0.vapi +++ b/vapi/libgnome-2.0.vapi @@ -173,13 +173,13 @@ namespace Gnome { [CCode (cheader_filename = "libgnome/libgnome.h")] public static void clearenv (); [CCode (cheader_filename = "libgnome/libgnome.h")] - public static int execute_async (string dir, int argc, string[] argv); + public static int execute_async (string dir, [CCode (array_length_pos = 1.9)] string[] argv); [CCode (cheader_filename = "libgnome/libgnome.h")] - public static int execute_async_fds (string dir, int argc, string[] argv, bool close_fds); + public static int execute_async_fds (string dir, [CCode (array_length_pos = 1.9)] string[] argv, bool close_fds); [CCode (cheader_filename = "libgnome/libgnome.h")] - public static int execute_async_with_env (string dir, int argc, string[] argv, int envc, string[] envv); + public static int execute_async_with_env (string dir, [CCode (array_length_pos = 1.9)] string[] argv, string[] envv); [CCode (cheader_filename = "libgnome/libgnome.h")] - public static int execute_async_with_env_fds (string dir, int argc, string[] argv, int envc, string[] envv, bool close_fds); + public static int execute_async_with_env_fds (string dir, [CCode (array_length_pos = 1.9)] string[] argv, [CCode (array_length_pos = 2.9)] string[] envv, bool close_fds); [CCode (cheader_filename = "libgnome/libgnome.h")] public static int execute_shell (string dir, string commandline); [CCode (cheader_filename = "libgnome/libgnome.h")] diff --git a/vapi/packages/libgnome-2.0/libgnome-2.0.metadata b/vapi/packages/libgnome-2.0/libgnome-2.0.metadata index 13c25b709..8916cb591 100644 --- a/vapi/packages/libgnome-2.0/libgnome-2.0.metadata +++ b/vapi/packages/libgnome-2.0/libgnome-2.0.metadata @@ -1,5 +1,17 @@ Gnome cheader_filename="libgnome/libgnome.h" GnomeModuleInfo.options hidden="1" +gnome_execute_async.argc hidden="1" +gnome_execute_async.argv array_length_pos="1.9" +gnome_execute_async_fds.argc hidden="1" +gnome_execute_async_fds.argv array_length_pos="1.9" +gnome_execute_async_with_env.argc hidden="1" +gnome_execute_async_with_env.argv array_length_pos="1.9" +gnome_execute_async_with_env.envc hidden="1" +gnome_execute_async_with_env_fds.envv array_length_pos="2.9" +gnome_execute_async_with_env_fds.argc hidden="1" +gnome_execute_async_with_env_fds.argv array_length_pos="1.9" +gnome_execute_async_with_env_fds.envc hidden="1" +gnome_execute_async_with_env_fds.envv array_length_pos="2.9" gnome_program_init.argc hidden="1" gnome_program_init.argv is_array="1" array_length_pos="3.9" gnome_program_init_paramv.argc hidden="1"