blob: 35050eca2bfc7da5c221d90e49ebebeca45f4c6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|