ucx/allocator.c

Fri, 08 Feb 2013 11:25:04 +0100

author
Mike Becker <universe@uap-core.de>
date
Fri, 08 Feb 2013 11:25:04 +0100
changeset 82
6068d965328b
parent 52
34f50d0bada4
child 103
08018864fb91
permissions
-rw-r--r--

logger can now log timestamps

#include <stdlib.h>
#include "allocator.h"

void *ucx_default_malloc(void *ignore, size_t n) {
    return malloc(n);
}

void *ucx_default_calloc(void *ignore, size_t n, size_t size) {
    return calloc(n, size);
}

void *ucx_default_realloc(void *ignore, void *data, size_t n) {
    return realloc(data, n);
}

mercurial