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