Kaydet (Commit) 1be0bc7c authored tarafından Colomban Wendling's avatar Colomban Wendling

Mark output parameters as such

üst e4bdf45c
......@@ -775,7 +775,7 @@ static gchar *encodings_convert_to_utf8_with_suggestion(const gchar *buffer, gss
*
* @param buffer the input string to convert.
* @param size the length of the string, or -1 if the string is nul-terminated.
* @param used_encoding return location of the detected encoding of the input string, or @c NULL.
* @param used_encoding @out @optional return location of the detected encoding of the input string, or @c NULL.
*
* @return If the conversion was successful, a newly allocated nul-terminated string,
* which must be freed with @c g_free(). Otherwise @c NULL.
......
......@@ -709,7 +709,7 @@ static gboolean spawn_async_with_pipes(const gchar *working_directory, const gch
* @param command_line child program and arguments, or @c NULL.
* @param argv child's argument vector, or @c NULL.
* @param envp child's environment, or @c NULL.
* @param child_pid return location for child process ID, or @c NULL.
* @param child_pid @out @optional return location for child process ID, or @c NULL.
* @param error return location for error.
*
* @return @c TRUE on success, @c FALSE on error.
......@@ -993,7 +993,7 @@ static void spawn_watch_cb(GPid pid, gint status, gpointer data)
* @param stderr_max_length maximum data length to pass to stderr_cb, @c 0 = default.
* @param exit_cb callback to invoke when the child exits, or @c NULL.
* @param exit_data data to pass to @a exit_cb.
* @param child_pid return location for child process ID, or @c NULL.
* @param child_pid @out @optional return location for child process ID, or @c NULL.
* @param error return location for error.
*
* @return @c TRUE on success, @c FALSE on error.
......@@ -1190,7 +1190,7 @@ static void spawn_get_exit_status_cb(G_GNUC_UNUSED GPid pid, gint status, gpoint
* @param stdin_data data to send to childs's stdin, or @c NULL.
* @param stdout_data GString location to receive the child's stdout, or NULL.
* @param stderr_data GString location to receive the child's stderr, or NULL.
* @param exit_status return location for the child exit code, or NULL.
* @param exit_status @out @optional return location for the child exit code, or @c NULL.
* @param error return location for error.
*
* @return @c TRUE on success, @c FALSE on error.
......
......@@ -1653,9 +1653,9 @@ const gchar *utils_get_default_dir_utf8(void)
* @param flags Ignored.
* @param child_setup @girskip Ignored.
* @param user_data @girskip Ignored.
* @param std_out The return location for child output, or @c NULL.
* @param std_err The return location for child error messages, or @c NULL.
* @param exit_status The child exit status, as returned by waitpid(), or @c NULL.
* @param std_out @out @optional The return location for child output, or @c NULL.
* @param std_err @out @optional The return location for child error messages, or @c NULL.
* @param exit_status @out @optional The child exit status, as returned by waitpid(), or @c NULL.
* @param error The return location for error or @c NULL.
*
* @return @c TRUE on success, @c FALSE if an error was set.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment