]> git.sesse.net Git - vlc/commitdiff
Remove libvlc_free
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 13 Feb 2010 17:03:48 +0000 (19:03 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 13 Feb 2010 17:51:19 +0000 (19:51 +0200)
include/vlc/libvlc.h
include/vlc/libvlc_media_player.h
src/control/core.c
src/libvlc.sym

index cb33ffbe0fe4f87cf109568870897d28e152caaf..51bb78f4c2f55a3520b207caa0730891347a7a4e 100644 (file)
@@ -188,15 +188,6 @@ VLC_PUBLIC_API const char * libvlc_get_changeset(void);
 
 struct vlc_object_t;
 
-/**
- * Frees an heap allocation (char *) returned by a LibVLC API.
- * If you know you're using the same underlying C run-time as the LibVLC
- * implementation, then you can call ANSI C free() directly instead.
- *
- * \param ptr the pointer
- */
-VLC_PUBLIC_API void libvlc_free( void *ptr );
-
 /** @}*/
 
 /*****************************************************************************
index 029ddb17f1441dfa72e998a48bdf39ea626c7713..eaaa358279c0bd04eaeb141d791b1158350a8ab8 100644 (file)
@@ -642,7 +642,7 @@ VLC_PUBLIC_API void libvlc_video_set_scale( libvlc_media_player_t *p_mi, float f
  *
  * \param p_mi the media player
  * \return the video aspect ratio or NULL if unspecified
- * (the result must be released with free() or libvlc_free()).
+ * (the result must be released with free()).
  */
 VLC_PUBLIC_API char *libvlc_video_get_aspect_ratio( libvlc_media_player_t *p_mi );
 
index 8bc7fd12ad319aac6db94c7bfa3f87f136488a74..a0a52782361695ab19ba8142fb7e108d6d3ec50f 100644 (file)
@@ -135,8 +135,3 @@ const char * libvlc_get_changeset(void)
     extern const char psz_vlc_changeset[];
     return psz_vlc_changeset;
 }
-
-void libvlc_free( void *ptr )
-{
-    free( ptr );
-}
index 15965ef09fb3f9a8d68c5f7b328e5efb2aa703ea..6f8820ec87b0b9ae233180296b02861413a17b57 100644 (file)
@@ -30,7 +30,6 @@ libvlc_event_manager_register_event_type
 libvlc_event_manager_release
 libvlc_event_send
 libvlc_event_type_name
-libvlc_free
 libvlc_get_changeset
 libvlc_get_compiler
 libvlc_get_fullscreen