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