diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2019-06-12 14:43:52 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2019-06-12 14:43:52 -0700 |
commit | 83a324a7d4a2c3e0a75148c918171b14f77dd371 (patch) | |
tree | 58a0051bf815e647955a82fdc6f0190e9acb1453 /include | |
parent | 196a44106ef10b343d06be2c130cba4037e85aec (diff) |
libstage: introduce stage_conf_t for stage_new()
stage_new() call sites were getting quite annoying, using compound
literals with designated initializers on a struct makes the call sites
a lot more readable, self-documenting, and often more compact thanks
to the automatic zeroing of omitted members.
I don't particularly like the name, and may switch it later, something
shorter would be nice.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions