1//- Copyright (c) 2010 James Grenning and Contributed to Unity Project 2/* ========================================== 3 Unity Project - A Test Framework for C 4 Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 5 [Released under MIT License. Please refer to license.txt for details] 6========================================== */ 7 8#ifndef UNITY_FIXTURE_MALLOC_OVERRIDES_H_ 9#define UNITY_FIXTURE_MALLOC_OVERRIDES_H_ 10 11#define malloc unity_malloc 12#define calloc unity_calloc 13#define realloc unity_realloc 14#define free unity_free 15 16void* unity_malloc(size_t size); 17void* unity_calloc(size_t num, size_t size); 18void* unity_realloc(void * oldMem, size_t size); 19void unity_free(void * mem); 20 21#endif /* UNITY_FIXTURE_MALLOC_OVERRIDES_H_ */ 22