[Toybox] [PATCH 1/5] lib: Add void *cb_param param to dirtree_read().

Rob Landley rob at landley.net
Fri Mar 16 06:15:20 PDT 2012


On 03/07/2012 02:15 AM, Georgi Chorbadzhiyski wrote:
> This parameter is passed to callback() function.

Each command has a block of global variables.  Passing down an
unmodified variable eats more stack space and makes the callsites larger.

As for patch 2 in the series... The dirtree stuff is already making a
call for each file, I'm not sure how the new wrappers differ?

Rob

 1331903720.0


More information about the Toybox mailing list