]> git.sesse.net Git - vlc/blobdiff - src/control/core.c
playlist_NodeInsert(): adds an assertion
[vlc] / src / control / core.c
index 8bc7fd12ad319aac6db94c7bfa3f87f136488a74..54e2fd03807d322a675318c2d1f3d0e5bc77bcd0 100644 (file)
@@ -114,6 +114,13 @@ int libvlc_add_intf( libvlc_instance_t *p_i, const char *name )
     return libvlc_InternalAddIntf( p_i->p_libvlc_int, name ) ? -1 : 0;
 }
 
+void libvlc_set_exit_handler( libvlc_instance_t *p_i, void (*cb) (void *),
+                              void *data )
+{
+    libvlc_int_t *p_libvlc = p_i->p_libvlc_int;
+    libvlc_SetExitHandler( p_libvlc, cb, data );
+}
+
 void libvlc_wait( libvlc_instance_t *p_i )
 {
     libvlc_int_t *p_libvlc = p_i->p_libvlc_int;
@@ -135,8 +142,3 @@ const char * libvlc_get_changeset(void)
     extern const char psz_vlc_changeset[];
     return psz_vlc_changeset;
 }
-
-void libvlc_free( void *ptr )
-{
-    free( ptr );
-}