[pulseaudio-discuss] [PATCH 1/3] conf-parser: Pass parser state in a struct instead of function parameters.

Maarten Bosmans mkbosmans at gmail.com
Sat Dec 3 03:58:10 PST 2011


2011/12/3 Tanu Kaskinen <tanuk at iki.fi>:
> I don't like long function parameter lists, and I plan to
> add some more state data to the parser which would make the
> parameter lists even longer without this refactoring.

Why not also change the pa_config_parser_cb_t prototype to accept a
parser_state struct?

Maarten


More information about the pulseaudio-discuss mailing list