| 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 |