blob: de5a2c9f93d00973cb52314f5c93ac669fa324e2 (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
#ifndef TEST
void *
libsimple_encalloc(int status, size_t n, size_t m) /* TODO test */
{
void *ret = calloc(n, m);
if (!ret)
enprintf(status, "calloc:");
return ret;
}
#else
#include "test.h"
int
main(void)
{
return 0;
}
#endif
|