]> git.sesse.net Git - vlc/blobdiff - include/vlc/libvlc.h
vout_ios2: minor code optimization
[vlc] / include / vlc / libvlc.h
index ab1030dad118cf69e8c4438ba0b14242331d32a2..b4a8c91693d9ee3094932e9cde424ebb95512e8d 100644 (file)
@@ -354,8 +354,8 @@ typedef struct vlc_log_t libvlc_log_t;
  *
  * \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
@@ -378,8 +378,8 @@ void libvlc_log_get_context(const libvlc_log_t *ctx, const char **module,
  *
  * \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.
@@ -401,6 +401,7 @@ typedef void (*libvlc_log_cb)(void *data, int level, const libvlc_log_t *ctx,
  * 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 * );
@@ -418,6 +419,7 @@ 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 *,
@@ -426,6 +428,7 @@ 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