ucx/allocator.c

changeset 112
c3f2f16fa4b8
parent 108
77254bd6dccb
equal deleted inserted replaced
111:81c4f73236a4 112:c3f2f16fa4b8
71 struct cx_allocator_s cx_stdlib_allocator = { 71 struct cx_allocator_s cx_stdlib_allocator = {
72 &cx_stdlib_allocator_class, 72 &cx_stdlib_allocator_class,
73 NULL 73 NULL
74 }; 74 };
75 const CxAllocator * const cxStdlibAllocator = &cx_stdlib_allocator; 75 const CxAllocator * const cxStdlibAllocator = &cx_stdlib_allocator;
76 const CxAllocator * cxDefaultAllocator = cxStdlibAllocator; 76 const CxAllocator * cxDefaultAllocator = &cx_stdlib_allocator;
77 77
78 int cx_reallocate_( 78 int cx_reallocate_(
79 void **mem, 79 void **mem,
80 size_t n 80 size_t n
81 ) { 81 ) {

mercurial