ucx/allocator.c

changeset 22
112b85020dc9
parent 21
5ea41679e15d
equal deleted inserted replaced
21:5ea41679e15d 22:112b85020dc9
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