[vala] libgnome-2.0: Fix gnome_execute_* bindings.



commit 36bccdcdbaa4204d566fd23659945c6bdf39dc91
Author: Evan Nemerson <evan coeus-group com>
Date:   Sat Oct 31 20:03:37 2009 -0700

    libgnome-2.0: Fix gnome_execute_* bindings.
    
    Fixes bug 599346.

 vapi/libgnome-2.0.vapi                           |    8 ++++----
 vapi/packages/libgnome-2.0/libgnome-2.0.metadata |   12 ++++++++++++
 2 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/vapi/libgnome-2.0.vapi b/vapi/libgnome-2.0.vapi
index b2fd183..2c7a7ab 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 13c25b7..8916cb5 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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]