[libgsystem] GSSubprocess: Annotate _new_simple_argv



commit dd1b3032b4cd175c2a9b2c611a62525454bad772
Author: Colin Walters <walters verbum org>
Date:   Fri Dec 7 08:28:13 2012 -0500

    GSSubprocess: Annotate _new_simple_argv
    
    So introspection knows it's an array.

 gsystem-subprocess.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gsystem-subprocess.c b/gsystem-subprocess.c
index 6de395b..d016144 100644
--- a/gsystem-subprocess.c
+++ b/gsystem-subprocess.c
@@ -845,6 +845,16 @@ gs_subprocess_new_simple_argl (GSSubprocessStreamDisposition stdout_disposition,
   return result;
 }
 
+/**
+ * gs_subprocess_new_simple_argv:
+ * @argv: (array zero-terminated=1) (element-type utf8): Argument array
+ * @stdout_disposition: Where to redirect stdout
+ * @stderr_disposition: Where to redirect stdout
+ * @error: a #GError
+ *
+ * Create a new subprocess using the provided argument array and
+ * stream dispositions.
+ */
 GSSubprocess *
 gs_subprocess_new_simple_argv (gchar                      **argv,
 			      GSSubprocessStreamDisposition stdout_disposition,



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