[vlc-devel] commit: New C++ binding for libvlc. ( R?mi Duraffort )

Rémi Denis-Courmont remi at remlab.net
Mon Jan 25 12:50:01 CET 2010


On Mon, 25 Jan 2010 09:48:50 +0100, jpd at videolan.org wrote:
> The libvlc_exception_clear() call is clearly superfluous here. Throwing
> an exception causes a stack rewind and so you'll need to clear the
> exception at the point the exception is caught, and otherwise it
> doesn't need clearing. I think it would be a better idea to throw a
> libvlc::Exception instead. And perhaps add some methods to it.

And I think we should not throw C++ exceptions at all. Many C++ libraries
don't.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list