diff options
| author | Matthijs Velsink <mvelsink@gnome.org> | 2024-04-07 22:55:40 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-04-08 12:47:03 -0700 |
| commit | 7ebbce207247e367f6d77ed98306fb10e97ba439 (patch) | |
| tree | 58e0061081137287ab1b87d5e4f1126e1058f382 /README.md | |
| parent | 2b37101998c82b8c4d3985d9b0695be38ec4cf76 (diff) | |
| download | meson-7ebbce207247e367f6d77ed98306fb10e97ba439.tar.gz | |
gnome: Fix indentation of mkenums_simple generated code
Commit 83facb39593fbfa4d9cd68e86f5f56f86f1fe1eb switched to using
`textwrap.dedent` for the code templates for `gnome.mkenums_simple`.
That changed indentation, however, making the generated code harder to
understand.
We improve this by properly indenting the multiline strings before
dedenting them. For optional parameters `decl_decorator` and
`header_prefix`, we add a newline if they are set to keep separation
between generated code blocks.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
