*
* \version LibVLC 2.1.0 or later
*/
-void libvlc_log_get_context(const libvlc_log_t *ctx, const char **module,
- const char **file, unsigned *restrict line);
+LIBVLC_API void libvlc_log_get_context(const libvlc_log_t *ctx,
+ const char **module, const char **file, unsigned *line);
/**
* Gets VLC object informations about a log message: the type name of the VLC
*
* \version LibVLC 2.1.0 or later
*/
-void libvlc_log_get_object(const libvlc_log_t *ctx, const char **name,
- const char **header, uintptr_t *id);
+LIBVLC_API void libvlc_log_get_object(const libvlc_log_t *ctx,
+ const char **name, const char **header, uintptr_t *id);
/**
* Callback prototype for LibVLC log message handler.
* This function will wait for any pending callbacks invocation to complete
* (causing a deadlock if called from within the callback).
*
+ * \param p_instance libvlc instance
* \version LibVLC 2.1.0 or later
*/
LIBVLC_API void libvlc_log_unset( libvlc_instance_t * );
*
* \warning A deadlock may occur if this function is called from the callback.
*
+ * \param p_instance libvlc instance
* \version LibVLC 2.1.0 or later
*/
LIBVLC_API void libvlc_log_set( libvlc_instance_t *,
/**
* Sets up logging to a file.
+ * \param p_instance libvlc instance
* \param stream FILE pointer opened for writing
* (the FILE pointer must remain valid until libvlc_log_unset())
* \version LibVLC 2.1.0 or later