mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-18 04:07:36 +08:00
Add: Additional documentation for Unity configuration options.
This commit is contained in:
@ -14,10 +14,13 @@
|
||||
//-------------------------------------------------------
|
||||
// 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
|
||||
// - Unity assumes 32 bit integers by default
|
||||
// - If your compiler treats ints of a different size, define UNITY_INT_WIDTH
|
||||
// Integers/longs/pointers
|
||||
// - Unity assumes 32 bit integers, longs, and pointers by default
|
||||
// - 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
|
||||
// - define UNITY_EXCLUDE_FLOAT to disallow floating point comparisons
|
||||
|
Reference in New Issue
Block a user