[vlc-devel] [PATCH 0/2] Add ARRAY_FIND() macro
Romain Vimont
rom1v at videolabs.io
Wed Jul 18 15:51:54 CEST 2018
A macro to find an item in an array was missing. I already needed it
several times, so let's add it.
First, add unit tests for ARRAY_* macros, then add ARRAY_FIND().
Romain Vimont (2):
vlc_arrays: add unit tests
vlc_arrays: add ARRAY_FIND()
include/vlc_arrays.h | 3 +
src/Makefile.am | 4 +-
src/test/arrays.c | 167 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 173 insertions(+), 1 deletion(-)
create mode 100644 src/test/arrays.c
--
2.18.0
More information about the vlc-devel
mailing list