50 CxAllocator * const cxStdlibAllocator; |
50 CxAllocator * const cxStdlibAllocator; |
51 |
51 |
52 // default allocator that can be changed |
52 // default allocator that can be changed |
53 CxAllocator *cxDefaultAllocator = cxStdlibAllocator; |
53 CxAllocator *cxDefaultAllocator = cxStdlibAllocator; |
54 |
54 |
55 // Convenience macros that invokes above functions with the cxDefaultAllocator. |
55 // convenience macros that invoke the above with cxDefaultAllocator |
56 #define cxMallocDefault(...) |
56 #define cxMallocDefault(...) |
57 #define cxZallocDefault(...) |
57 #define cxZallocDefault(...) |
58 #define cxCallocDefault(...) |
58 #define cxCallocDefault(...) |
59 #define cxReallocDefault(...) |
59 #define cxReallocDefault(...) |
60 #define cxReallocateDefault(...) |
60 #define cxReallocateDefault(...) |