Skip to content
Snippets Groups Projects
Commit 4c73518d authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont
Browse files

libvlc: don't make VLC error reporting public anymore

There's no reason for an app to mix its error messages with ours.

Applications that may have used this will fail to link so will quickly notice
the change.
parent 1c613896
No related branches found
No related tags found
1 merge request!780libvlc: ensure that vlc_threadvar_set() is set on a proper thread var
Pipeline #199342 passed with stage
in 13 minutes and 37 seconds
......@@ -98,15 +98,6 @@ LIBVLC_API const char *libvlc_errmsg (void);
*/
LIBVLC_API void libvlc_clearerr (void);
/**
* Sets the LibVLC error status and message for the current thread.
* Any previous error is overridden.
* \param fmt the format string
* \param ap the arguments
* \return a nul terminated string in any case
*/
LIBVLC_API const char *libvlc_vprinterr (const char *fmt, va_list ap);
/**
* Sets the LibVLC error status and message for the current thread.
* Any previous error is overridden.
......@@ -114,7 +105,7 @@ LIBVLC_API const char *libvlc_vprinterr (const char *fmt, va_list ap);
* \param ... the arguments for the format string
* \return a nul terminated string in any case
*/
LIBVLC_API const char *libvlc_printerr (const char *fmt, ...);
const char *libvlc_printerr (const char *fmt, ...);
/**@} */
......
......@@ -97,9 +97,11 @@ void libvlc_clearerr (void)
/**
* Sets the LibVLC error status and message for the current thread.
* Any previous error is overridden.
* @return a nul terminated string (always)
* \param fmt the format string
* \param ap the arguments
* \return a nul terminated string in any case
*/
const char *libvlc_vprinterr (const char *fmt, va_list ap)
static const char *libvlc_vprinterr (const char *fmt, va_list ap)
{
char *msg;
......
libvlc_errmsg
libvlc_clearerr
libvlc_printerr
libvlc_vprinterr
libvlc_add_intf
libvlc_audio_equalizer_get_amp_at_index
libvlc_audio_equalizer_get_band_count
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment