| 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 ) { |