CryptoAuthLib
Atmel CryptoAuthentication Library
unity_fixture_malloc_overrides.h
Go to the documentation of this file.
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 
16 void* unity_malloc(size_t size);
17 void* unity_calloc(size_t num, size_t size);
18 void* unity_realloc(void * oldMem, size_t size);
19 void unity_free(void * mem);
20 
21 #endif /* UNITY_FIXTURE_MALLOC_OVERRIDES_H_ */
void * unity_calloc(size_t num, size_t size)
Definition: unity_fixture.c:231
void * unity_malloc(size_t size)
Definition: unity_fixture.c:181
void * unity_realloc(void *oldMem, size_t size)
Definition: unity_fixture.c:239
void unity_free(void *mem)
Definition: unity_fixture.c:222