[vlc-devel] [PATCH] Added libvlc_get_internal_object functions to the PUBLIC API

Rémi Denis-Courmont rdenis at simphalempin.com
Fri Dec 12 14:36:45 CET 2008


On Fri, 12 Dec 2008 04:32:47 +0200, "basos g" <noxelia at gmail.com> wrote:
> You mean release is not needed. Why? The alias is just for libvlc_*
> api compliance.

Yeah and I don't want to clutter libvlccore with useless aliases. That's a
waste of memory and linker CPU usage.

> E.g. one should call libvlc_get_internal_object, do something with it
> and finally libvlc_release_internal_object instead of the more cryptic
> vlc_object_release

And what's the point? You will NEED to cast it to vlc_object_t or
libvlc_int_t anyway! otherwise, you would not use the internal object in
the first place...

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list