ucx/allocator.c

changeset 50
ff194559eb41
child 52
34f50d0bada4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ucx/allocator.c	Fri Oct 05 13:23:25 2012 +0200
@@ -0,0 +1,12 @@
+#include "allocator.h"
+#include <stdlib.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