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

Rémi Denis-Courmont rem at videolan.org
Thu Dec 11 21:46:48 CET 2008

Le jeudi 11 décembre 2008 22:12:02 basos g, vous avez écrit :
> You are right. I haven't thought of it. It worked from vlccore
> New version of the API. Now it is moved to vlc_main.h and is
> implemented at src/libvlc.c thus libvlccore.dll
> Also diffed against trunk

I get an undeclared function call. Please test your patches.

Also, you should drop the retain and release functions - they're totally
useless aliases. And don't #include libvlc stuff in vlc_main.h. Instead
you can do this (of course you still need to #include it in src/libvlc.c):

   struct libvlc_instance_t;

   VLC_EXPORT( libvlc_int_t *, libvlc_get_internal_object, ( struct libvlc_instance_t * ) );

Rémi Denis-Courmont

More information about the vlc-devel mailing list