ucx/allocator.c

Wed, 27 Feb 2013 11:48:29 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 27 Feb 2013 11:48:29 +0100
changeset 94
57ea041df22f
parent 52
34f50d0bada4
child 103
08018864fb91
permissions
-rw-r--r--

renamed comparator to utils module and added copy functions

     1 #include <stdlib.h>
     2 #include "allocator.h"
     4 void *ucx_default_malloc(void *ignore, size_t n) {
     5     return malloc(n);
     6 }
     8 void *ucx_default_calloc(void *ignore, size_t n, size_t size) {
     9     return calloc(n, size);
    10 }
    12 void *ucx_default_realloc(void *ignore, void *data, size_t n) {
    13     return realloc(data, n);
    14 }

mercurial