ucx/allocator.c

changeset 1219
86ed681698aa
parent 1040
473d8cb58a6c
equal deleted inserted replaced
1218:943fc009bd1c 1219:86ed681698aa
99 99
100 struct cx_allocator_s cx_stdlib_allocator = { 100 struct cx_allocator_s cx_stdlib_allocator = {
101 &cx_stdlib_allocator_class, 101 &cx_stdlib_allocator_class,
102 NULL 102 NULL
103 }; 103 };
104 const CxAllocator * const cxStdlibAllocator = &cx_stdlib_allocator; 104 CX_EXPORT const CxAllocator * const cxStdlibAllocator = &cx_stdlib_allocator;
105 const CxAllocator * cxDefaultAllocator = &cx_stdlib_allocator; 105 CX_EXPORT const CxAllocator * cxDefaultAllocator = &cx_stdlib_allocator;
106 106
107 int cx_reallocate_( 107 int cx_reallocate_(
108 void **mem, 108 void **mem,
109 size_t n 109 size_t n
110 ) { 110 ) {

mercurial