提交 822a537d 编写于 作者: J jsalling

Remove opaque typedef from UnityFixture struct, as done in core Unity

上级 6b664fc8
......@@ -9,7 +9,7 @@
#include "unity_fixture.h"
#include "unity_internals.h"
UNITY_FIXTURE_T UnityFixture;
struct _UnityFixture UnityFixture;
//If you decide to use the function pointer approach.
//Build with -D UNITY_OUTPUT_CHAR=outputChar and include <stdio.h>
......
......@@ -8,13 +8,13 @@
#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;
};
typedef void unityfunction(void);
void UnityTestRunner(unityfunction* setup,
......
......@@ -10,7 +10,7 @@
#include <stdlib.h>
#include <string.h>
extern UNITY_FIXTURE_T UnityFixture;
extern struct _UnityFixture UnityFixture;
TEST_GROUP(UnityFixture);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册