ucx/allocator.c

Wed, 27 Feb 2013 16:59:02 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 27 Feb 2013 16:59:02 +0100
changeset 100
e0ec80179a5d
parent 52
34f50d0bada4
child 103
08018864fb91
permissions
-rw-r--r--

happy 100th commit + removed deprecated sstrcat + fixed sstrncat

#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