[Cocci] minor issue: pretty printing for modified functions as arguments

SF Markus Elfring elfring at users.sourceforge.net
Fri Oct 3 09:55:36 CEST 2014


> Subject: [PATCH] module: add extra argument for parse_params() callback
> 
> This adds an extra argument onto parse_params() to be used
> as a way to make the unused callback a bit more useful and
> generic by allowing the caller to pass on a data structure
> of its choice.

How do you think about to reuse a type definition for such callback functions?
Was such an implementation detail also discussed on a mailing list or forum
already?

Regards,
Markus


More information about the Cocci mailing list