[vlc-commits] Remove (INSERT|REMOVE)_ELEM

Rémi Denis-Courmont git at videolan.org
Thu May 18 20:22:21 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 18 21:10:45 2017 +0300| [7477c7abab4ee2e675d8cc37b230de30e48835c6] | committer: Rémi Denis-Courmont

Remove (INSERT|REMOVE)_ELEM

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7477c7abab4ee2e675d8cc37b230de30e48835c6
---

 include/vlc_arrays.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/vlc_arrays.h b/include/vlc_arrays.h
index 5708dbe1e8..cd54b11d80 100644
--- a/include/vlc_arrays.h
+++ b/include/vlc_arrays.h
@@ -113,12 +113,6 @@ static inline void *realloc_down( void *ptr, size_t size )
 #define TAB_INSERT( count, tab, p, index )      \
     TAB_INSERT_CAST( , count, tab, p, index )
 
-#define INSERT_ELEM( p_ar, i_oldsize, i_pos, elem ) \
-    TAB_INSERT( i_oldsize, p_ar, elem, i_pos )
-
-#define REMOVE_ELEM( p_ar, i_size, i_pos )  \
-    TAB_ERASE( i_size, p_ar, i_pos )
-
 /**
  * Binary search in a sorted array. The key must be comparable by < and >
  * \param entries array of entries



More information about the vlc-commits mailing list