[geany/geany] faa6cd: Clarify that a spawn stdout/stderr cb may modify the passed string

Dimitar Zhekov git-noreply at xxxxx
Fri May 15 17:07:22 UTC 2015


Branch:      refs/heads/master
Author:      Dimitar Zhekov <dimitar.zhekov at gmail.com>
Committer:   Dimitar Zhekov <dimitar.zhekov at gmail.com>
Date:        Mon, 16 Mar 2015 20:25:54 UTC
Commit:      faa6cd8614f59b16babbe0e48396659e0a411021
             https://github.com/geany/geany/commit/faa6cd8614f59b16babbe0e48396659e0a411021

Log Message:
-----------
Clarify that a spawn stdout/stderr cb may modify the passed string


Modified Paths:
--------------
    src/spawn.h

Modified: src/spawn.h
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -63,6 +63,8 @@ typedef enum
  *
  *  If @c G_IO_IN or @c G_IO_PRI are set, the @a string will contain at least one character.
  *
+ *  The callback function may modify the @a string, but must not free it.
+ *
  *  @param string contains the child data if @c G_IO_IN or @c G_IO_PRI are set.
  *  @param condition the I/O condition which has been satisfied.
  *  @param data the passed to @c spawn_with_callbacks() with the callback.



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list