commit 90bdbf39c299cdfbae83e8007821ba0734f0da1e
parent 5aeac74c2327b2f9bcc73de15d92c2de79418c56
Author: vaplv <vaplv@free.fr>
Date: Fri, 23 Oct 2015 12:18:35 +0200
Add the unsigned int dynamic array
Diffstat:
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -72,6 +72,7 @@ set(RSYS_FILES_INC_API
dynamic_array_uchar.h
dynamic_array_u32.h
dynamic_array_u64.h
+ dynamic_array_uint.h
dynamic_array_size_t.h
dynamic_array_str.h
floatX.h
diff --git a/src/dynamic_array_uint.h b/src/dynamic_array_uint.h
@@ -0,0 +1,26 @@
+/* Copyright (C) 2013-2015 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_UINT_H
+#define DYNAMIC_ARRRAY_UINT_H
+
+#include "dynamic_array.h"
+
+#define DARRAY_NAME uint
+#define DARRAY_DATA unsigned
+#include "dynamic_array.h"
+
+#endif /* DYNAMIC_ARRRAY_UINT_H */
+