X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/8f2e82bd61f7402c3566d7a0a10e6a19b18218c2..32013ebffbb563908ae6a6de09b5a7bda9dac784:/LUFA/Common/Attributes.h diff --git a/LUFA/Common/Attributes.h b/LUFA/Common/Attributes.h index f4040b23e..201d6b927 100644 --- a/LUFA/Common/Attributes.h +++ b/LUFA/Common/Attributes.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2012. + Copyright (C) Dean Camera, 2013. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -18,7 +18,7 @@ advertising or publicity pertaining to distribution of the software without specific, written prior permission. - The author disclaim all warranties with regard to this + The author disclaims all warranties with regard to this software, including all implied warranties of merchantability and fitness. In no event shall the author be liable for any special, indirect or consequential damages or any damages @@ -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. */ @@ -116,7 +121,7 @@ /** Forces the compiler to not automatically zero the given global variable on startup, so that the * current RAM contents is retained. Under most conditions this value will be random due to the - * behaviour of volatile memory once power is removed, but may be used in some specific circumstances, + * behavior of volatile memory once power is removed, but may be used in some specific circumstances, * like the passing of values back after a system watchdog reset. */ #define ATTR_NO_INIT __attribute__ ((section (".noinit")))