src/allocator.c

changeset 935
312fb24c14de
parent 890
54565fd74e74
child 963
2f601274bbac
equal deleted inserted replaced
934:a43ed636d1ff 935:312fb24c14de
73 &cx_default_allocator_class, 73 &cx_default_allocator_class,
74 NULL 74 NULL
75 }; 75 };
76 CxAllocator *cxDefaultAllocator = &cx_default_allocator; 76 CxAllocator *cxDefaultAllocator = &cx_default_allocator;
77 77
78 78 #undef cx_reallocate
79 int cx_reallocate( 79 int cx_reallocate(
80 void **mem, 80 void **mem,
81 size_t n 81 size_t n
82 ) { 82 ) {
83 void *nmem = realloc(*mem, n); 83 void *nmem = realloc(*mem, n);

mercurial