X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/eee252603be67c539f9986cde76454f756e55d95..32013ebffbb563908ae6a6de09b5a7bda9dac784:/LUFA/Common/Attributes.h diff --git a/LUFA/Common/Attributes.h b/LUFA/Common/Attributes.h index ba9a21c4a..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 @@ -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. */