diff options
author | marha <marha@users.sourceforge.net> | 2012-02-29 13:34:55 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-02-29 13:34:55 +0100 |
commit | 15a500d3edb03668b43cc6898fafcda024d0f006 (patch) | |
tree | 5bdb867e749ea1f56b9c480d195027e38a0bbab2 /mesalib/src/glsl/ralloc.h | |
parent | c4f44c07c6662d1ce08603945ccc4fa5afaa742a (diff) | |
download | vcxsrv-15a500d3edb03668b43cc6898fafcda024d0f006.tar.gz vcxsrv-15a500d3edb03668b43cc6898fafcda024d0f006.tar.bz2 vcxsrv-15a500d3edb03668b43cc6898fafcda024d0f006.zip |
xserver fontconfig mesa pixman git update 29 Feb 2012
Diffstat (limited to 'mesalib/src/glsl/ralloc.h')
-rw-r--r-- | mesalib/src/glsl/ralloc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mesalib/src/glsl/ralloc.h b/mesalib/src/glsl/ralloc.h index 1324f3466..86306b1f5 100644 --- a/mesalib/src/glsl/ralloc.h +++ b/mesalib/src/glsl/ralloc.h @@ -329,10 +329,11 @@ char *ralloc_vasprintf(const void *ctx, const char *fmt, va_list args); * \param fmt A printf-style formatting string * * \p str will be updated to the new pointer unless allocation fails. + * \p start will be increased by the length of the newly formatted text. * * \return True unless allocation failed. */ -bool ralloc_asprintf_rewrite_tail(char **str, size_t start, +bool ralloc_asprintf_rewrite_tail(char **str, size_t *start, const char *fmt, ...); /** @@ -352,10 +353,11 @@ bool ralloc_asprintf_rewrite_tail(char **str, size_t start, * \param args A va_list containing the data to be formatted * * \p str will be updated to the new pointer unless allocation fails. + * \p start will be increased by the length of the newly formatted text. * * \return True unless allocation failed. */ -bool ralloc_vasprintf_rewrite_tail(char **str, size_t start, const char *fmt, +bool ralloc_vasprintf_rewrite_tail(char **str, size_t *start, const char *fmt, va_list args); /** |