Skip to content

parse-options.h: use designated initializers in OPT_* macros

SZEDER Gábor git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3parse-options.h: use consistent name for the callback parametersparse-options.h+3 -30 replies
2/3parse-options.h: rename _OPT_CONTAINS_OR_WITH()'s parametersparse-options.h+3 -31 reply
3/3parse-options.h: use designated initializers in OPT_* macrosparse-options.h+243 -660 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchElijah Newren
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] parse-options.h: use designated initializers in OPT_* macros

Use designated initializers in the expansions of the OPT_* macros to make it more readable which one-letter macro parameter initializes which field in the resulting 'struct option'.

SZEDER Gábor (3):
parse-options.h: use consistent name for the callback parameters parse-options.h: rename _OPT_CONTAINS_OR_WITH()'s parameters parse-options.h: use designated initializers in OPT_* macros

 parse-options.h | 311 +++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 244 insertions(+), 67 deletions(-)
Signature · 1 line
2.40.0.499.g88fa0b00d2