[vlc-devel] [vlc-commits] commit: sd: remove the pf_search and use a more generic pf_control function . ( Rémi Duraffort )

Rémi Duraffort ivoire at videolan.org
Mon Oct 25 17:47:35 CEST 2010


> > sd: remove the pf_search and use a more generic pf_control function.
> >
> > This way we can implement both a search function and a description function.
> 
> Seems like ugly: then you need to add wrappers around the Control
> function, adding yet more glue. Variadic argument means no static
> checking...
true

> Why not simply using a separate function?
I want something generic and the ability to add other functions if
needed. The pf_control way allows me to add fuctions later on.

-- 
Rémi Duraffort | ivoire
http://ivoire.dinauz.org/blog/



More information about the vlc-devel mailing list