vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h in ceedling-0.19.0 vs vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h in ceedling-0.20.2

- old
+ new

@@ -6,41 +6,34 @@ ========================================== */ #ifndef UNITY_FIXTURE_INTERNALS_H_ #define UNITY_FIXTURE_INTERNALS_H_ -typedef struct _UNITY_FIXTURE_T +struct _UnityFixture { int Verbose; unsigned int RepeatCount; const char* NameFilter; const char* GroupFilter; -} UNITY_FIXTURE_T; +}; +extern struct _UnityFixture UnityFixture; typedef void unityfunction(void); -void UnityTestRunner(unityfunction * setup, - unityfunction * body, - unityfunction * teardown, - const char * printableName, - const char * group, - const char * name, - const char * file, int line); +void UnityTestRunner(unityfunction* setup, + unityfunction* body, + unityfunction* teardown, + const char* printableName, + const char* group, + const char* name, + const char* file, unsigned int line); -void UnityIgnoreTest(const char * printableName, const char * group, const char * name); +void UnityIgnoreTest(const char* printableName, const char* group, const char* name); void UnityMalloc_StartTest(void); void UnityMalloc_EndTest(void); -UNITY_COUNTER_TYPE UnityFailureCount(void); -UNITY_COUNTER_TYPE UnityIgnoreCount(void); -UNITY_COUNTER_TYPE UnityTestsCount(void); int UnityGetCommandLineOptions(int argc, const char* argv[]); void UnityConcludeFixtureTest(void); -void UnityPointer_Set(void ** ptr, void * newValue); +void UnityPointer_Set(void** ptr, void* newValue, UNITY_LINE_TYPE line); void UnityPointer_UndoAllSets(void); void UnityPointer_Init(void); - -void UnityAssertEqualPointer(const void * expected, - const void * actual, - const char* msg, - const UNITY_LINE_TYPE lineNumber); #endif /* UNITY_FIXTURE_INTERNALS_H_ */