gml_Attributes.h

Go to the documentation of this file.
00001 /**
00002  * @file gml_Attributes.h
00003  *
00004  *    GNU C attributes used in GML.
00005  *
00006  *  Copyright (c) 1995-2002 CLIPS-IMAG
00007  *
00008  *  See the file "gml_LicenseTerms.txt" for information on usage and redistribution
00009  *  of this file, and for a DISCLAIMER OF ALL WARRANTIES.
00010  *
00011  *  Created on July, 2003 (JL).
00012  */
00013 
00014 #ifndef __GML_ATTRIBUTES__
00015 #define __GML_ATTRIBUTES__
00016 
00017 #define GML_PURE            __GML_ATTRIBUTE(pure)
00018 #define GML_CONST           __GML_ATTRIBUTE(const)
00019 #define GML_ALWAYS_INLINE   __GML_ATTRIBUTE(always_inline)
00020 #define GML_NO_INLINE       __GML_ATTRIBUTE(noinline)
00021 #define GML_ALIGNED32       __GML_ATTRIBUTE(aligned (32))
00022 #define GML_PACKED          __GML_ATTRIBUTE(packed)
00023 
00024 #ifdef __GML_ATTRIBUTES_USE
00025 #  ifndef __GNUC__
00026 #    error Attributes are only supported when using GCC.
00027 #  endif /* __GNUC__ */
00028 #  define __GML_ATTRIBUTE(a) __attribute__((a))
00029 #else
00030 #  define __GML_ATTRIBUTE(a)
00031 #endif /* __GML_ATTRIBUTES_USE */
00032 
00033 
00034 #endif /* __GML_ATTRIBUTES__ */
00035 
Generated on Tue Jun 12 14:03:27 2007 for gml by Doxygen 1.5.2.