aboutsummaryrefslogtreecommitdiffstats
path: root/enaligned_reallocarray.c
diff options
context:
space:
mode:
Diffstat (limited to 'enaligned_reallocarray.c')
-rw-r--r--enaligned_reallocarray.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/enaligned_reallocarray.c b/enaligned_reallocarray.c
new file mode 100644
index 0000000..35050ec
--- /dev/null
+++ b/enaligned_reallocarray.c
@@ -0,0 +1,25 @@
+/* See LICENSE file for copyright and license details. */
+#include "libsimple.h"
+#ifndef TEST
+
+
+void *
+libsimple_enaligned_reallocarray(int status, void *ptr, size_t alignment, size_t n, size_t m) /* TODO test (ealigned_reallocarray) */
+{
+ void *ret = aligned_reallocarray(ptr, alignment, n, m);
+ if (!ret)
+ enprintf(status, "aligned_reallocarray:");
+ return ret;
+}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif