mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-25 01:59:21 +08:00
Fix fixture using from C++ sources
Mangling issues, as always.
This commit is contained in:
@ -8,6 +8,11 @@
|
|||||||
#ifndef UNITY_FIXTURE_INTERNALS_H_
|
#ifndef UNITY_FIXTURE_INTERNALS_H_
|
||||||
#define UNITY_FIXTURE_INTERNALS_H_
|
#define UNITY_FIXTURE_INTERNALS_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
struct _UnityFixture
|
struct _UnityFixture
|
||||||
{
|
{
|
||||||
int Verbose;
|
int Verbose;
|
||||||
@ -36,4 +41,8 @@ void UnityPointer_Set(void** ptr, void* newValue, UNITY_LINE_TYPE line);
|
|||||||
void UnityPointer_UndoAllSets(void);
|
void UnityPointer_UndoAllSets(void);
|
||||||
void UnityPointer_Init(void);
|
void UnityPointer_Init(void);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* UNITY_FIXTURE_INTERNALS_H_ */
|
#endif /* UNITY_FIXTURE_INTERNALS_H_ */
|
||||||
|
Reference in New Issue
Block a user