aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common/Attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Common/Attributes.h')
-rw-r--r--LUFA/Common/Attributes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/LUFA/Common/Attributes.h b/LUFA/Common/Attributes.h
index 95570ad86..201d6b927 100644
--- a/LUFA/Common/Attributes.h
+++ b/LUFA/Common/Attributes.h
@@ -90,6 +90,11 @@
*/
#define ATTR_NO_INLINE __attribute__ ((noinline))
+ /** Forces the compiler to never inline the specified function. When applied, the given function will be
+ * always be called explicitly under all circumstances.
+ */
+ #define ATTR_NEVER_INLINE __attribute__ ((noinline))
+
/** Forces the compiler to inline the specified function. When applied, the given function will be
* in-lined under all circumstances.
*/