src/cx/allocator.h

changeset 1554
91fb10c89611
parent 1539
2cbdb482d325
equal deleted inserted replaced
1553:7c46531efd52 1554:91fb10c89611
437 /** 437 /**
438 * Convenience macro that invokes cxReallocArray() with the cxDefaultAllocator. 438 * Convenience macro that invokes cxReallocArray() with the cxDefaultAllocator.
439 */ 439 */
440 #define cxReallocArrayDefault(...) cxReallocArray(cxDefaultAllocator, __VA_ARGS__) 440 #define cxReallocArrayDefault(...) cxReallocArray(cxDefaultAllocator, __VA_ARGS__)
441 /** 441 /**
442 * Convenience macro that invokes cxFree() with the cxDefaultAllocator. 442 * Convenience function that invokes cxFree() with the cxDefaultAllocator.
443 */ 443 */
444 #define cxFreeDefault(...) cxFree(cxDefaultAllocator, __VA_ARGS__) 444 CX_EXPORT void cxFreeDefault(void *mem);
445 445
446 #ifdef __cplusplus 446 #ifdef __cplusplus
447 } // extern "C" 447 } // extern "C"
448 #endif 448 #endif
449 449

mercurial