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

Pierre d'Herbemont pdherbemont at free.fr
Mon Oct 25 10:16:12 CEST 2010


On Sun, Oct 24, 2010 at 4:18 AM,  <git at videolan.org> wrote:
> vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Oct 24 03:52:12 2010 +0200| [7c5348b695c23258157ec21cdcf69ed6917bf009] | committer: Rémi Duraffort
>
> 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...

Why not simply using a separate function?

Pierre.



More information about the vlc-devel mailing list