1 #ifndef RBIMPL_ATTR_PURE_H
2 #define RBIMPL_ATTR_PURE_H
28 #if RBIMPL_HAS_ATTRIBUTE(pure)
29 # define RBIMPL_ATTR_PURE() __attribute__((__pure__))
30 #elif RBIMPL_COMPILER_SINCE(SunPro, 5, 10, 0)
31 # define RBIMPL_ATTR_PURE() _Pragma("does_not_write_global_data")
33 # define RBIMPL_ATTR_PURE()
38 # define RBIMPL_ATTR_PURE_UNLESS_DEBUG() RBIMPL_ATTR_PURE()
40 # define RBIMPL_ATTR_PURE_UNLESS_DEBUG()
Defines RBIMPL_HAS_ATTRIBUTE.
Defines RBIMPL_COMPILER_SINCE.