Clarify that a spawn stdout/stderr cb may modify the passed string

This commit is contained in:
Dimitar Zhekov 2015-03-16 22:25:54 +02:00
parent dccd421a79
commit faa6cd8614

View File

@ -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. * 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 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 condition the I/O condition which has been satisfied.
* @param data the passed to @c spawn_with_callbacks() with the callback. * @param data the passed to @c spawn_with_callbacks() with the callback.