mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-18 12:51:44 +08:00
Add: Additional documentation for Unity configuration options.
This commit is contained in:
@ -14,10 +14,13 @@
|
|||||||
//-------------------------------------------------------
|
//-------------------------------------------------------
|
||||||
// Configuration Options
|
// Configuration Options
|
||||||
//-------------------------------------------------------
|
//-------------------------------------------------------
|
||||||
|
// All options described below should be passed as a compiler flag to all files using Unity. If you must add #defines, place them BEFORE the #include above.
|
||||||
|
|
||||||
// Integers
|
// Integers/longs/pointers
|
||||||
// - Unity assumes 32 bit integers by default
|
// - Unity assumes 32 bit integers, longs, and pointers by default
|
||||||
// - If your compiler treats ints of a different size, define UNITY_INT_WIDTH
|
// - If your compiler treats ints of a different size, options are:
|
||||||
|
// - define UNITY_USE_LIMITS_H to use limits.h to determine sizes
|
||||||
|
// - define UNITY_INT_WIDTH, UNITY_LONG_WIDTH, nand UNITY_POINTER_WIDTH
|
||||||
|
|
||||||
// Floats
|
// Floats
|
||||||
// - define UNITY_EXCLUDE_FLOAT to disallow floating point comparisons
|
// - define UNITY_EXCLUDE_FLOAT to disallow floating point comparisons
|
||||||
|
Reference in New Issue
Block a user