src/ucx/allocator.c

changeset 621
956c03c25edd
parent 582
82b60a8dd55c
equal deleted inserted replaced
620:a202cb1ee175 621:956c03c25edd
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