mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-30 11:44:27 +01:00
Add indentation for type autodetection macros
This commit is contained in:
@@ -154,24 +154,24 @@
|
|||||||
*-------------------------------------------------------*/
|
*-------------------------------------------------------*/
|
||||||
|
|
||||||
#if (UNITY_POINTER_WIDTH == 32)
|
#if (UNITY_POINTER_WIDTH == 32)
|
||||||
#define UNITY_PTR_TO_INT UNITY_INT32
|
#define UNITY_PTR_TO_INT UNITY_INT32
|
||||||
#define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX32
|
#define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX32
|
||||||
#elif (UNITY_POINTER_WIDTH == 64)
|
#elif (UNITY_POINTER_WIDTH == 64)
|
||||||
#define UNITY_PTR_TO_INT UNITY_INT64
|
#define UNITY_PTR_TO_INT UNITY_INT64
|
||||||
#define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX64
|
#define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX64
|
||||||
#elif (UNITY_POINTER_WIDTH == 16)
|
#elif (UNITY_POINTER_WIDTH == 16)
|
||||||
#define UNITY_PTR_TO_INT UNITY_INT16
|
#define UNITY_PTR_TO_INT UNITY_INT16
|
||||||
#define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX16
|
#define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX16
|
||||||
#else
|
#else
|
||||||
#error Invalid UNITY_POINTER_WIDTH specified! (16, 32 or 64 are supported)
|
#error Invalid UNITY_POINTER_WIDTH specified! (16, 32 or 64 are supported)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UNITY_PTR_ATTRIBUTE
|
#ifndef UNITY_PTR_ATTRIBUTE
|
||||||
#define UNITY_PTR_ATTRIBUTE
|
#define UNITY_PTR_ATTRIBUTE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UNITY_INTERNAL_PTR
|
#ifndef UNITY_INTERNAL_PTR
|
||||||
#define UNITY_INTERNAL_PTR UNITY_PTR_ATTRIBUTE const void*
|
#define UNITY_INTERNAL_PTR UNITY_PTR_ATTRIBUTE const void*
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*-------------------------------------------------------
|
/*-------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user