rsys

Basic data structures and low-level features
git clone git://git.meso-star.fr/rsys.git
Log | Files | Refs | README | LICENSE

commit 7dfb050571902cf50d03a517b954990522f4f6a6
parent bfab59446402cae41f1e400a390ee5514d8dfad1
Author: vaplv <vaplv@free.fr>
Date:   Sun, 16 Oct 2016 16:55:16 +0200

Add the integer dynamic array

Diffstat:
Mcmake/CMakeLists.txt | 1+
Asrc/dynamic_array_int.h | 26++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -77,6 +77,7 @@ set(RSYS_FILES_INC_API dynamic_array_char.h dynamic_array_double.h dynamic_array_float.h + dynamic_array_int.h dynamic_array_uchar.h dynamic_array_u32.h dynamic_array_u64.h diff --git a/src/dynamic_array_int.h b/src/dynamic_array_int.h @@ -0,0 +1,26 @@ +/* Copyright (C) 2013-2016 Vincent Forest (vaplv@free.fr) + * + * The RSys library is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * The RSys library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ + +#ifndef DYNAMIC_ARRRAY_INT_H +#define DYNAMIC_ARRRAY_INT_H + +#include "dynamic_array.h" + +#define DARRAY_NAME int +#define DARRAY_DATA int +#include "dynamic_array.h" + +#endif /* DYNAMIC_ARRRAY_INT_H */ +