src/cx/allocator.h

changeset 414
81a4c3a63e65
parent 405
44efaa54d63d
child 415
067aa769796a
equal deleted inserted replaced
413:0f4aa9fc75d9 414:81a4c3a63e65
50 50
51 void *cxMalloc(CxAllocator allocator, size_t n); 51 void *cxMalloc(CxAllocator allocator, size_t n);
52 52
53 void *cxRealloc(CxAllocator allocator, void *mem, size_t n); 53 void *cxRealloc(CxAllocator allocator, void *mem, size_t n);
54 54
55 int cxReallocate(CxAllocator allocator, void **mem, size_t n);
56
55 void *cxCalloc(CxAllocator allocator, size_t nelem, size_t n); 57 void *cxCalloc(CxAllocator allocator, size_t nelem, size_t n);
56 58
57 void cxFree(CxAllocator allocator, void *mem); 59 void cxFree(CxAllocator allocator, void *mem);
58 60
59 #endif /* UCX_ALLOCATOR_H */ 61 #endif /* UCX_ALLOCATOR_H */

mercurial