[vlc-devel] LIBVLC_DEPRECATED usage

Olivier Aubert olivier.aubert at liris.cnrs.fr
Thu Jan 12 23:55:21 CET 2012


Hello

I noticed a discrepancy in the use of LIBVLC_DEPRECATED: in libvlc.h, it
is used in addition to LIBVLC_API, e.g. :

LIBVLC_DEPRECATED
LIBVLC_API unsigned libvlc_get_log_verbosity( const libvlc_instance_t
*p_instance );

while in other files it is used in replacement of LIBVLC_API. Needless
to say that such inconsistencies do not make the life of code parsers
easy.

Given its definition in libvlc.h, it seems obvious that the second
option is correct, but there may be some thing that I am missing. Rémi,
since you are the one who committed the code using the first version,
any light to bring?

Regards,
Olivier





More information about the vlc-devel mailing list