From bc251726b61c0e2b87f7a687f4e11ce5e01c987c Mon Sep 17 00:00:00 2001 From: "Bryan A. Jones" Date: Mon, 3 Dec 2012 11:36:45 -0600 Subject: [PATCH] Add: Additional documentation for Unity configuration options. --- src/unity.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/unity.h b/src/unity.h index a046f71..f0c6abe 100644 --- a/src/unity.h +++ b/src/unity.h @@ -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