Re: [Mesa-dev] [PATCH 05/41] glapi: use python's textwrap.dedent to make code readable

2016-04-19 Thread Ian Romanick
On 03/31/2016 05:04 PM, Dylan Baker wrote: > This allows large blocks of C code that is going to be printed to be > nested nicely in the python functions that print them, but still be > printed at the same level they were previously. This helps to make the > code visually more readable, and fixes s

[Mesa-dev] [PATCH 05/41] glapi: use python's textwrap.dedent to make code readable

2016-03-31 Thread Dylan Baker
This allows large blocks of C code that is going to be printed to be nested nicely in the python functions that print them, but still be printed at the same level they were previously. This helps to make the code visually more readable, and fixes syntax folding in vim. Signed-off-by: Dylan Baker