standardized pointer notation; did a bit of janitorial work on Unity struct

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@17 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
mkarlesky
2009-02-19 06:43:19 +00:00
parent 24a56b0c38
commit 68decf8b34
2 changed files with 36 additions and 35 deletions

View File

@ -5,13 +5,14 @@
struct _Unity Unity = struct _Unity Unity =
{ {
NULL, NULL,
0,
0,
0,
0,
0,
NULL, NULL,
0,
0,
0,
0,
0,
1e-4f, 1e-4f,
0,
}; };
void UnityPrintChar(const char ch) void UnityPrintChar(const char ch)

View File

@ -19,13 +19,13 @@ typedef enum
struct _Unity struct _Unity
{ {
char* CurrentTestName; const char* TestFile;
const char* CurrentTestName;
unsigned char NumberOfTests; unsigned char NumberOfTests;
unsigned char TestFailures; unsigned char TestFailures;
unsigned char TestIgnores; unsigned char TestIgnores;
unsigned char CurrentTestFailed; unsigned char CurrentTestFailed;
unsigned char CurrentTestIgnored; unsigned char CurrentTestIgnored;
const char *TestFile;
float DefaultDelta; float DefaultDelta;
jmp_buf AbortFrame; jmp_buf AbortFrame;
}; };