[vlc-devel] [RFC] Regarding the use of *_Control()
rem at videolan.org
Mon Apr 14 15:20:10 CEST 2008
Le lundi 14 avril 2008, Pierre d'Herbemont a écrit :
> I do understand that to do subclassing, and to add new functionality
> to Control() function without breaking the ABI is quite easy.
> I do doubt that this is a nice habit, and having internal function
> pointers would have been much cleaner IMO. (no need to switch(), it's
> easy to see if a function is supported or not, etc.)
You cannot add _any_ new callback without breaking the ABI though. So
the "cleaner" solution is simply impractical, I think.
More information about the vlc-devel