cJSON
[Ported from github.com/DaveGamble/cJSON] Fix: heap-use-after-free in merge_patch when patch is subtree of target (#1065)
Brought by drakestapleton
cJSON / tests / unity / extras / fixture / test / unity_output_Spy.h
| 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 D_unity_output_Spy_H |
| 9 | #define D_unity_output_Spy_H |
| 10 | |
| 11 | void UnityOutputCharSpy_Create(int s); |
| 12 | void UnityOutputCharSpy_Destroy(void); |
| 13 | void UnityOutputCharSpy_OutputChar(int c); |
| 14 | const char * UnityOutputCharSpy_Get(void); |
| 15 | void UnityOutputCharSpy_Enable(int enable); |
| 16 | |
| 17 | #endif |