restrict.h
Go to the documentation of this file.
00001 /* Some preprocessor magic for having fast inline functions. */
00002 #include <gsl/gsl_matrix.h>
00003 
00004 #ifndef INLINE
00005 #define INLINE static inline
00006 #endif
00007 #ifndef INLINE_DECL
00008 #define INLINE_DECL static inline
00009 #endif
00010 
00011 /* Some preprocessor magic for the "restrict" keyword:
00012         http://www.cellperformance.com/mike_acton/2006/05/demystifying_the_restrict_keyw.html */
00013 #if __STDC_VERSION__ >= 199901
00014 #elif defined (__GNUC__) && __GNUC__ >= 2 && __GNUC_MINOR__ >= 91
00015         #define restrict __restrict__
00016 #else
00017         #define restrict
00018 #endif
00019 
00020 /* Some preprocessor magic for calling this library from C++ */
00021 
00022 #ifdef __cplusplus
00023         #define restrict /* nothing */
00024 #endif
00025 


csm
Author(s): Andrea Censi
autogenerated on Fri May 17 2019 02:28:33