]> git.sesse.net Git - vlc/blobdiff - include/vlc/mediacontrol.h
Don't leak vlc_bool_t through libvlc-control
[vlc] / include / vlc / mediacontrol.h
index c7e698a9dedb8419ba310f44d48c82e0bf33153f..5f1c8aeafe49a49ebd6721004bca8467acdef46a 100644 (file)
@@ -86,7 +86,14 @@ VLC_PUBLIC_API void
   mediacontrol_exception_init( mediacontrol_Exception *exception );
 
 /**
- * Free an exception structure.
+ * Clean up an existing exception structure after use.
+ * \param p_exception the exception to clean up.
+ */
+VLC_PUBLIC_API void
+mediacontrol_exception_cleanup( mediacontrol_Exception *exception );
+
+/**
+ * Free an exception structure created with mediacontrol_exception_create().
  * \return the exception
  */
 VLC_PUBLIC_API void mediacontrol_exception_free(mediacontrol_Exception *exception);