Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/cJSON/blob/master/tests/unity/extras/fixture/src/unity_fixture_internals.h # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `cJSON / tests / unity / extras / fixture / src / unity_fixture_internals.h` 51 lines ยท 1518 bytes Raw Blame History 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_INTERNALS_H_ 9 #define UNITY_FIXTURE_INTERNALS_H_ 10 11 #ifdef __cplusplus 12 extern "C" 13 { 14 #endif 15 16 struct UNITY_FIXTURE_T 17 { 18 int Verbose; 19 unsigned int RepeatCount; 20 const char* NameFilter; 21 const char* GroupFilter; 22 }; 23 extern struct UNITY_FIXTURE_T UnityFixture; 24 25 typedef void unityfunction(void); 26 void UnityTestRunner(unityfunction* setup, 27 unityfunction* body, 28 unityfunction* teardown, 29 const char* printableName, 30 const char* group, 31 const char* name, 32 const char* file, unsigned int line); 33 34 void UnityIgnoreTest(const char* printableName, const char* group, const char* name); 35 void UnityMalloc_StartTest(void); 36 void UnityMalloc_EndTest(void); 37 int UnityGetCommandLineOptions(int argc, const char* argv[]); 38 void UnityConcludeFixtureTest(void); 39 40 void UnityPointer_Set(void** ptr, void* newValue, UNITY_LINE_TYPE line); 41 void UnityPointer_UndoAllSets(void); 42 void UnityPointer_Init(void); 43 #ifndef UNITY_MAX_POINTERS 44 #define UNITY_MAX_POINTERS 5 45 #endif 46 47 #ifdef __cplusplus 48 } 49 #endif 50 51 #endif /* UNITY_FIXTURE_INTERNALS_H_ */