commit a04ed8aeefea3efcdc563f14424422efc15a3252
parent ff299e39af6e65880f354be17e4d0364316c7097
Author: vaplv <vaplv@free.fr>
Date: Thu, 25 Sep 2014 16:14:56 +0200
Add the size_t dynamic array
Diffstat:
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -62,6 +62,7 @@ set(RSYS_FILES_INC
dynamic_array_uchar.h
dynamic_array_u32.h
dynamic_array_u64.h
+ dynamic_array_size_t.h
floatX.h
float2.h
float3.h
diff --git a/src/dynamic_array_size_t.h b/src/dynamic_array_size_t.h
@@ -0,0 +1,26 @@
+/* Copyright (C) 2013-2014 Vincent Forest (vaplv@free.fr)
+ *
+ * This program 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.
+ *
+ * This program 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 this program. If not, see <http://www.gnu.org/licenses/>. */
+
+#ifndef DYNAMIC_ARRRAY_SIZE_T_H
+#define DYNAMIC_ARRRAY_SIZE_T_H
+
+#include "dynamic_array.h"
+
+#define DARRAY_NAME size_t
+#define DARRAY_DATA size_t
+#include "dynamic_array.h"
+
+#endif /* DYNAMIC_ARRRAY_SIZE_T_H */
+