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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2011-12-03 at 12:58 +0100, Maarten Bosmans wrote:
> 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?

Good idea. I'll add that to the todo list.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux