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

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


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

Remove (INSERT|REMOVE)_ELEM

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

 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