src/allocator.c

changeset 1180
4c3a69b9723a
parent 1134
60edcd57d54c
equal deleted inserted replaced
1179:ca4c6f590a08 1180:4c3a69b9723a
69 69
70 struct cx_allocator_s cx_default_allocator = { 70 struct cx_allocator_s cx_default_allocator = {
71 &cx_default_allocator_class, 71 &cx_default_allocator_class,
72 NULL 72 NULL
73 }; 73 };
74 CxAllocator *cxDefaultAllocator = &cx_default_allocator; 74 const CxAllocator * const cxDefaultAllocator = &cx_default_allocator;
75 75
76 int cx_reallocate_( 76 int cx_reallocate_(
77 void **mem, 77 void **mem,
78 size_t n 78 size_t n
79 ) { 79 ) {

mercurial