Commit 209ee554 authored by Filip Roséen's avatar Filip Roséen Committed by Rémi Denis-Courmont

vlc_arrays: remove vlc_array_{new, destroy}

These functions are no longer necessary nor used; future
implementations shall use vlc_array_init and vlc_array_clear
respectively).
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent f063bb30
......@@ -296,22 +296,6 @@ static inline void vlc_array_clear( vlc_array_t * p_array )
vlc_array_init( p_array );
}
static inline vlc_array_t * vlc_array_new( void )
{
vlc_array_t * ret = (vlc_array_t *)malloc( sizeof(vlc_array_t) );
if( ret ) vlc_array_init( ret );
return ret;
}
static inline void vlc_array_destroy( vlc_array_t * p_array )
{
if( !p_array )
return;
free( p_array->pp_elems );
free( p_array );
}
/* Read */
static inline size_t vlc_array_count( vlc_array_t * p_array )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment