ucx/allocator.c

Fri, 05 Oct 2012 16:59:14 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 05 Oct 2012 16:59:14 +0200
changeset 52
34f50d0bada4
parent 50
ff194559eb41
child 103
08018864fb91
permissions
-rw-r--r--

added ucx_map_copy and fixed ucx_map_rehash

     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