ucx/allocator.c

Wed, 10 Oct 2012 09:32:06 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 10 Oct 2012 09:32:06 +0200
changeset 58
733f22fca61a
parent 52
34f50d0bada4
child 103
08018864fb91
permissions
-rw-r--r--

discarded memprintf / memscanf

Reason: memscanf has no chance to get the amount of bytes read

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

mercurial