ucx/allocator.c

changeset 845
f3ab28ed22e5
parent 629
0385a450c2a6
child 992
f421aef8f865
equal deleted inserted replaced
844:3106d9ca2f9c 845:f3ab28ed22e5
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