src/allocator.c

changeset 1395
395ad9f8da44
parent 1330
dd5d2402d161
equal deleted inserted replaced
1394:7b23c6db9500 1395:395ad9f8da44
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