Re: [Mesa-dev] [PATCH] ralloc: Add new [v]asprintf_rewrite_tail functions.

2011-10-26 Thread Eugeni Dodonov
On Tue, Oct 25, 2011 at 00:33, Kenneth Graunke wrote: > This can be useful if you want to create a bunch of temporary strings > with a common prefix. For example, when iterating over uniform > structure fields, one might want to create temporary strings like > "pallete.primary", "palette.outline"

[Mesa-dev] [PATCH] ralloc: Add new [v]asprintf_rewrite_tail functions.

2011-10-24 Thread Kenneth Graunke
This can be useful if you want to create a bunch of temporary strings with a common prefix. For example, when iterating over uniform structure fields, one might want to create temporary strings like "pallete.primary", "palette.outline", and "pallette.shadow". This could be done by overwriting the